summaryrefslogtreecommitdiff
path: root/jsonschema/tests
diff options
context:
space:
mode:
Diffstat (limited to 'jsonschema/tests')
-rw-r--r--jsonschema/tests/test_cli.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/jsonschema/tests/test_cli.py b/jsonschema/tests/test_cli.py
index 64f77b0..84f8812 100644
--- a/jsonschema/tests/test_cli.py
+++ b/jsonschema/tests/test_cli.py
@@ -708,7 +708,7 @@ class TestCLI(TestCase):
ref_path = Path(ref_schema_file.name)
ref_path.write_text('{"definitions": {"num": {"type": "integer"}}}')
- schema = f'{{"$ref": "{ref_path.name}#definitions/num"}}'
+ schema = f'{{"$ref": "{ref_path.name}#/definitions/num"}}'
self.assertOutputs(
files=dict(some_schema=schema, some_instance="1"),
@@ -729,7 +729,7 @@ class TestCLI(TestCase):
ref_path = Path(ref_schema_file.name)
ref_path.write_text('{"definitions": {"num": {"type": "integer"}}}')
- schema = f'{{"$ref": "{ref_path.name}#definitions/num"}}'
+ schema = f'{{"$ref": "{ref_path.name}#/definitions/num"}}'
self.assertOutputs(
files=dict(some_schema=schema, some_instance='"1"'),