From 5a0044a2321ecfef336056c6831f325d73337c66 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Mon, 8 Nov 2021 16:15:55 -0500 Subject: [PATCH] black --- src/_zkapauthorizer/tests/test_controller.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/_zkapauthorizer/tests/test_controller.py b/src/_zkapauthorizer/tests/test_controller.py index 51aa113..f2b770e 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 -- GitLab