-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: change order of JSON Schema to search mapper transformations #32
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,7 +51,7 @@ def test_json_schema_to_search_mapper_0(): | |
index_ref = _load(filename) | ||
|
||
diff = jsondiff.diff(index_ref, index_def) | ||
print(json.dumps(index_def, indent=2)) | ||
# print(json.dumps(index_def, indent=2)) | ||
print(diff) | ||
assert index_def == index_ref | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you add a proper error message in case this assert fails assert index_def == index_ref, "assert index_def != index_ref" There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In case of assertion failure, pytest should already provide enough context information but nevertheless I added a commit with more verbose, including the difference. |
||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we comment out the diff