Add a voucher’s comment to voucher.csv download (#1926)

This commit is contained in:
Richard Schreiber
2021-02-15 13:41:44 +01:00
committed by GitHub
parent 4db0530c09
commit f2a18325b6
2 changed files with 6 additions and 4 deletions

View File

@@ -93,9 +93,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"' \
'"Maximum usages","Seat","Comment"' \
'\r\n"ABCDEFG","","Early-bird ticket","No","No","No effect","","","0",' \
'"1",""'
'"1","",""'
def test_filter_status_valid(self):
with scopes_disabled():