File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -708,7 +708,7 @@ def test_successful_validation_via_explicit_base_uri(self):
708
708
ref_path = Path (ref_schema_file .name )
709
709
ref_path .write_text ('{"definitions": {"num": {"type": "integer"}}}' )
710
710
711
- schema = f'{{"$ref": "{ ref_path .name } #definitions/num"}}'
711
+ schema = f'{{"$ref": "{ ref_path .name } #/ definitions/num"}}'
712
712
713
713
self .assertOutputs (
714
714
files = dict (some_schema = schema , some_instance = "1" ),
@@ -729,7 +729,7 @@ def test_unsuccessful_validation_via_explicit_base_uri(self):
729
729
ref_path = Path (ref_schema_file .name )
730
730
ref_path .write_text ('{"definitions": {"num": {"type": "integer"}}}' )
731
731
732
- schema = f'{{"$ref": "{ ref_path .name } #definitions/num"}}'
732
+ schema = f'{{"$ref": "{ ref_path .name } #/ definitions/num"}}'
733
733
734
734
self .assertOutputs (
735
735
files = dict (some_schema = schema , some_instance = '"1"' ),
You can’t perform that action at this time.
0 commit comments