diff --git a/src/_zkapauthorizer/tests/test_controller.py b/src/_zkapauthorizer/tests/test_controller.py index 51aa113fa6da7f1ccce4db2f61999f89a49e3908..f2b770e0638357400240b183e592fa412440af8f 100644 --- a/src/_zkapauthorizer/tests/test_controller.py +++ b/src/_zkapauthorizer/tests/test_controller.py @@ -913,7 +913,6 @@ class RistrettoRedeemerTests(TestCase): ), ) - @given(voucher_objects(), voucher_counters(), integers(min_value=0, max_value=100)) def test_bad_ristretto_redemption(self, voucher, counter, extra_tokens): """ @@ -1077,6 +1076,7 @@ class UnsuccessfulRedemption(Resource, object): :ivar unicode reason: The value for the ``reason`` field of the result. """ + reason = attr.ib() def __attrs_post_init__(self): @@ -1089,6 +1089,7 @@ class UnsuccessfulRedemption(Resource, object): return bad_request(request, {u"success": False, u"reason": self.reason}) + def unpaid_redemption(): """ Return a fake Ristretto redemption server which always refuses to allow