aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2020-11-29 22:20:02 +0100
committerMartin Czygan <martin.czygan@gmail.com>2020-11-29 22:20:02 +0100
commit1c19c5fd68e86473c8f7ee4dbbc6929bb9ee8199 (patch)
treea2300e295bb94cbabd9bb5690589a631897a89e5 /tests
parent051c685798731fc80e071bc68397655fdf4d1c89 (diff)
downloadfuzzycat-1c19c5fd68e86473c8f7ee4dbbc6929bb9ee8199.tar.gz
fuzzycat-1c19c5fd68e86473c8f7ee4dbbc6929bb9ee8199.zip
address possible None value
Diffstat (limited to 'tests')
-rw-r--r--tests/test_verify.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test_verify.py b/tests/test_verify.py
index 4789311..d740c06 100644
--- a/tests/test_verify.py
+++ b/tests/test_verify.py
@@ -45,8 +45,9 @@ def test_compare():
"skipping test {base}release/{a} {base}release/{b} -- no result defined (we think {status}, {reason})"
.format(a=a, b=b, base=FATCAT_BASE_URL, status=status, reason=reason))
continue
- assert status_mapping[expected_status] == status, "status: want {}, got {} for {} {}".format(
- expected_status, status, a, b)
+ assert status_mapping[
+ expected_status] == status, "status: want {}, got {} for {} {}".format(
+ expected_status, status, a, b)
if expected_reason:
assert expected_reason.lower() == reason.lower(
), "reason [{} {}]: want {}, got {}".format(a, b, expected_reason, reason)