Skip to content

Commit c1a9ce8

Browse files
committed
Minor test tidying.
1 parent f125a18 commit c1a9ce8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

referencing/tests/test_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def test_crawl_finds_anchors_no_id(self):
126126
def test_contents(self):
127127
resource = Resource.opaque({"foo": "bar"})
128128
uri = "urn:example"
129-
registry = Registry().with_resources([(uri, resource)])
129+
registry = Registry().with_resource(uri, resource)
130130
assert registry.contents(uri) == {"foo": "bar"}
131131

132132
def test_init(self):

0 commit comments

Comments
 (0)