We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb8fd76 commit 77527b6Copy full SHA for 77527b6
bin/json_tests_workflow.py
@@ -61,11 +61,12 @@ def main():
61
for test in json_content:
62
print(test)
63
if "specification" in test:
64
- for spec, section in test["specification"]:
65
- print(spec, section)
66
- if spec in ["core", "validation", "hyper-schema"]:
67
- print(urls[draft][spec] + section)
68
- else: print(urls[spec] + section)
+ for specification_object in test["specification"]:
+ for key, value in specification_object.items():
+ if key in ["core", "validation", "hyper-schema"]:
+ print(urls[draft][key] + value)
+ elif key in ["quote"]: continue
69
+ else: print(urls[key] + value)
70
except json.JSONDecodeError as e:
71
print(f"Error parsing JSON in file '{file}': {e}")
72
0 commit comments