Skip to content

Commit d86c7c7

Browse files
committed
tests: check for substrings not in dependencies
1 parent 3f3e630 commit d86c7c7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/dep/test_base.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ def test_contains(self):
167167
# substrings
168168
assert "u2?" in d
169169
assert "b ) )" in d
170+
assert "z" not in d
170171

171172
# non-Dependency objects return False
172173
assert None not in d
@@ -438,6 +439,7 @@ def test_contains(self):
438439
assert "u2? ( b/c )" in d
439440
assert "u2?" in d
440441
assert " ( " in d
442+
assert "z" not in d
441443

442444
# all other object types return False
443445
assert None not in d

0 commit comments

Comments
 (0)