forked from CGM_Public/pretix_original
New color scheme and UI design
This commit is contained in:
@@ -255,7 +255,7 @@ class WidgetCartTest(CartTestMixin, TestCase):
|
||||
def test_css_customized(self):
|
||||
response = self.client.get('/%s/%s/widget/v1.css' % (self.orga.slug, self.event.slug))
|
||||
c = b"".join(response.streaming_content).decode()
|
||||
assert '#8E44B3' in c
|
||||
assert '#7f5a91' in c
|
||||
assert '#33c33c' not in c
|
||||
assert '#34c34c' not in c
|
||||
|
||||
@@ -263,7 +263,7 @@ class WidgetCartTest(CartTestMixin, TestCase):
|
||||
regenerate_organizer_css.apply(args=(self.orga.pk,))
|
||||
response = self.client.get('/%s/%s/widget/v1.css' % (self.orga.slug, self.event.slug))
|
||||
c = b"".join(response.streaming_content).decode()
|
||||
assert '#8E44B3' not in c
|
||||
assert '#7f5a91' not in c
|
||||
assert '#33c33c' in c
|
||||
assert '#34c34c' not in c
|
||||
|
||||
@@ -271,7 +271,7 @@ class WidgetCartTest(CartTestMixin, TestCase):
|
||||
regenerate_css.apply(args=(self.event.pk,))
|
||||
response = self.client.get('/%s/%s/widget/v1.css' % (self.orga.slug, self.event.slug))
|
||||
c = b"".join(response.streaming_content).decode()
|
||||
assert '#8E44B3' not in c
|
||||
assert '#7f5a91' not in c
|
||||
assert '#33c33c' not in c
|
||||
assert '#34c34c' in c
|
||||
|
||||
|
||||
Reference in New Issue
Block a user