diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2020-12-04 18:15:01 +0100 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2020-12-04 18:15:01 +0100 |
commit | fd4ebf09519ce511f02ad71d8aed7a57a7a03199 (patch) | |
tree | b2a18764ebf02b3c1587c4f49253e57f6be10cab /tests/test_verify.py | |
parent | 1b0309499ee59384eba074709a3440019141a31e (diff) | |
download | fuzzycat-fd4ebf09519ce511f02ad71d8aed7a57a7a03199.tar.gz fuzzycat-fd4ebf09519ce511f02ad71d8aed7a57a7a03199.zip |
publications over N year apart are most likely different
N=40 hardcoded for now, but should be probably a parameter.
Diffstat (limited to 'tests/test_verify.py')
-rw-r--r-- | tests/test_verify.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/test_verify.py b/tests/test_verify.py index 533a5ba..75b1190 100644 --- a/tests/test_verify.py +++ b/tests/test_verify.py @@ -46,8 +46,13 @@ def test_compare(): .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, reason, a, b) + expected_status] == status, "status: want {expected_status}, got {status} {reason} for {base}release/{a} {base}release/{b}".format( + expected_status=expected_status, + status=status, + reason=reason, + base=FATCAT_BASE_URL, + a=a, + b=b) if expected_reason: assert expected_reason.lower() == reason.lower( ), "reason [{base}release/{a} {base}release/{b}]: want {reason}, got {expected_reason}".format( |