Skip to content

Commit 7712751

Browse files
committed
Make tests without parameterized information have their own test
1 parent 472c5cd commit 7712751

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/unit/contentproviders/test_ckan.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
def test_detect_ckan(test_input, expected):
2626
assert CKAN().detect(test_input[0]) == expected
2727

28+
29+
def test_detect_not_ckan():
2830
# Don't trigger the CKAN content provider
2931
assert CKAN().detect("/some/path/here") is None
3032
assert CKAN().detect("https://example.com/path/here") is None

0 commit comments

Comments
 (0)