mirror of
https://github.com/pretix/pretix.git
synced 2026-08-27 13:24:41 +00:00
Fix test case
This commit is contained in:
@@ -1232,9 +1232,8 @@ class CheckoutTestCase(BaseCheckoutTestCase, TimemachineTestMixin, TestCase):
|
|||||||
'name_parts_3': 'Kennedy',
|
'name_parts_3': 'Kennedy',
|
||||||
'street': '',
|
'street': '',
|
||||||
'zipcode': '',
|
'zipcode': '',
|
||||||
'city': 'Bar',
|
'city': '',
|
||||||
'country': 'BI',
|
'country': 'BI',
|
||||||
'vat_id': 'DE123456',
|
|
||||||
'email': 'admin@localhost'
|
'email': 'admin@localhost'
|
||||||
}, follow=True)
|
}, follow=True)
|
||||||
doc = BeautifulSoup(response.content.decode(), "lxml")
|
doc = BeautifulSoup(response.content.decode(), "lxml")
|
||||||
@@ -1248,11 +1247,10 @@ class CheckoutTestCase(BaseCheckoutTestCase, TimemachineTestMixin, TestCase):
|
|||||||
'name_parts_1': 'John',
|
'name_parts_1': 'John',
|
||||||
'name_parts_2': '',
|
'name_parts_2': '',
|
||||||
'name_parts_3': 'Kennedy',
|
'name_parts_3': 'Kennedy',
|
||||||
'street': 'Baz',
|
'street': 'BP 12345',
|
||||||
'zipcode': '',
|
'zipcode': '',
|
||||||
'city': 'Bar',
|
'city': 'Bujumbura',
|
||||||
'country': 'DE',
|
'country': 'BI',
|
||||||
'vat_id': 'DE123456',
|
|
||||||
'email': 'admin@localhost'
|
'email': 'admin@localhost'
|
||||||
}, follow=True)
|
}, follow=True)
|
||||||
self.assertRedirects(response, '/%s/%s/checkout/payment/' % (self.orga.slug, self.event.slug),
|
self.assertRedirects(response, '/%s/%s/checkout/payment/' % (self.orga.slug, self.event.slug),
|
||||||
|
|||||||
Reference in New Issue
Block a user