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 06c3279 commit ee4c67bCopy full SHA for ee4c67b
1 file changed
referencing/tests/test_core.py
@@ -111,6 +111,16 @@ def test_len(self):
111
)
112
assert len(registry) == total
113
114
+ def test_bool_empty(self):
115
+ assert not Registry()
116
+
117
+ def test_bool_not_empty(self):
118
+ registry = Registry().with_contents(
119
+ [(str(i), {"foo": "bar"}) for i in range(3)],
120
+ default_specification=Specification.OPAQUE,
121
+ )
122
+ assert registry
123
124
def test_iter(self):
125
registry = Registry().with_contents(
126
[(str(i), {"foo": "bar"}) for i in range(8)],
0 commit comments