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 f125a18 commit c1a9ce8Copy full SHA for c1a9ce8
referencing/tests/test_core.py
@@ -126,7 +126,7 @@ def test_crawl_finds_anchors_no_id(self):
126
def test_contents(self):
127
resource = Resource.opaque({"foo": "bar"})
128
uri = "urn:example"
129
- registry = Registry().with_resources([(uri, resource)])
+ registry = Registry().with_resource(uri, resource)
130
assert registry.contents(uri) == {"foo": "bar"}
131
132
def test_init(self):
0 commit comments