fix: flake8 errors in tests/

This commit is contained in:
eggplants
2022-02-03 21:33:25 +09:00
parent 01d8ff3ff5
commit 79259b4026
5 changed files with 17 additions and 14 deletions

View File

@@ -87,10 +87,10 @@ def test_check_collapses():
def test_check_match_type():
assert None == check_match_type(None, "url")
assert check_match_type(None, "url") is None
match_type = "exact"
url = "test_url"
assert None == check_match_type(match_type, url)
assert check_match_type(match_type, url) is None
url = "has * in it"
with pytest.raises(WaybackError):