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 551cdf7 commit 9189f43Copy full SHA for 9189f43
tests.py
@@ -860,11 +860,11 @@ def test_it_resolves_local_refs(self):
860
self.assertEqual(resolved, self.referrer["properties"]["foo"])
861
862
def test_it_resolves_local_refs_with_id(self):
863
- schema = {"id": "foo://bar/schema#", "a": {"foo": "bar"}}
+ schema = {"id": "/bar/schema#", "a": {"foo": "bar"}}
864
resolver = RefResolver.from_schema(schema)
865
with resolver.resolving("#/a") as resolved:
866
self.assertEqual(resolved, schema["a"])
867
- with resolver.resolving("foo://bar/schema#/a") as resolved:
+ with resolver.resolving("/bar/schema#/a") as resolved:
868
869
870
def test_it_retrieves_stored_refs(self):
0 commit comments