Count through redemption groups during redemption process
Redeem the voucher once for each redemption group. Track progress in the database. Delay entering the "redeemed" state until all groups have succeeded.
Showing
- src/_zkapauthorizer/controller.py 69 additions, 24 deletionssrc/_zkapauthorizer/controller.py
- src/_zkapauthorizer/model.py 12 additions, 6 deletionssrc/_zkapauthorizer/model.py
- src/_zkapauthorizer/tests/test_controller.py 30 additions, 7 deletionssrc/_zkapauthorizer/tests/test_controller.py
- src/_zkapauthorizer/tests/test_model.py 13 additions, 7 deletionssrc/_zkapauthorizer/tests/test_model.py
- src/_zkapauthorizer/tests/test_plugin.py 7 additions, 2 deletionssrc/_zkapauthorizer/tests/test_plugin.py
Loading
Please register or sign in to comment