mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Clean up localization or error messages in cart (#3049)
This commit is contained in:
committed by
GitHub
parent
59f409b1c6
commit
a7f9e100d2
@@ -1529,7 +1529,7 @@ class CartTest(CartTestMixin, TestCase):
|
||||
response = self.client.get('/%s/%s/redeem' % (self.orga.slug, self.event.slug),
|
||||
{'voucher': v.code},
|
||||
follow=True)
|
||||
assert error_messages['voucher_item_not_available'] in response.rendered_content
|
||||
assert str(error_messages['voucher_item_not_available']) in response.rendered_content
|
||||
|
||||
def test_voucher_price(self):
|
||||
with scopes_disabled():
|
||||
|
||||
Reference in New Issue
Block a user