aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2020-11-26 11:20:35 +0100
committerMartin Czygan <martin.czygan@gmail.com>2020-11-26 11:20:35 +0100
commit47761357e341b7355c98778ec1665ae73e5d6fe3 (patch)
tree14c0af2f9a6cc52bf8fd784d1ad8ab477c9eaef3 /tests
parent67589a0bc9217f3259f0f093b5283b9e92828d0f (diff)
downloadfuzzycat-47761357e341b7355c98778ec1665ae73e5d6fe3.tar.gz
fuzzycat-47761357e341b7355c98778ec1665ae73e5d6fe3.zip
figshare fix
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 ebbb490..0c04d53 100644
--- a/tests/test_verify.py
+++ b/tests/test_verify.py
@@ -41,11 +41,12 @@ def test_compare():
pytest.fail("invalid test file, maybe missing a comma? {}".format(exc))
status, reason = compare(load_release_ident(a), load_release_ident(b))
if not expected_status or expected_status.lower() == "todo":
- logger.warn(
+ logger.warning(
"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))
assert 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)
+ assert expected_reason.lower() == reason.lower(
+ ), "reason [{} {}]: want {}, got {}".format(a, b, expected_reason, reason)
logger.info("ran verification over {} cases (https://git.io/JkDgS)".format(i))