From fd4ebf09519ce511f02ad71d8aed7a57a7a03199 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Fri, 4 Dec 2020 18:15:01 +0100 Subject: publications over N year apart are most likely different N=40 hardcoded for now, but should be probably a parameter. --- tests/test_verify.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'tests/test_verify.py') 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( -- cgit v1.2.3