Voucher list: Add budget and budget used to CSV export (Z#23237857) (#6520)

* Voucher list: Add budget and budget used to CSV export (Z#23237857)

* Fix failing test
This commit is contained in:
Raphael Michel
2026-09-14 10:31:07 +02:00
committed by GitHub
parent 47096f7f1b
commit bcacff2ee7
2 changed files with 6 additions and 4 deletions
+2 -2
View File
@@ -128,9 +128,9 @@ class VoucherFormTest(SoupTestMixin, TransactionTestCase):
doc = self.client.get('/control/event/%s/%s/vouchers/?download=yes' % (self.orga.slug, self.event.slug))
assert doc.content.decode().strip() == '"Voucher code","Valid until","Product","Reserve quota",' \
'"Bypass quota","Price effect","Value","Tag","Redeemed",' \
'"Maximum usages","Seat","Comment"' \
'"Maximum usages","Seat","Comment","Budget","Budget used"' \
'\r\n"ABCDEFG","","Early-bird ticket","No","No","No effect","","","0",' \
'"1","",""'
'"1","","","",""'
def test_filter_status_valid(self):
with scopes_disabled():