Fix test case

This commit is contained in:
Mira Weller
2024-11-29 14:37:37 +01:00
parent 45391b104a
commit eff815056b
+4 -6
View File
@@ -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),