mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34:02 +00:00
Remove DEBUG from unit tests, as it breaks travis
This commit is contained in:
@@ -54,7 +54,7 @@ class BrowserTest(LiveServerTestCase):
|
|||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
super().__init__(*args, **kwargs)
|
super().__init__(*args, **kwargs)
|
||||||
settings.DEBUG = True
|
settings.DEBUG = ('--debug' in sys.argv)
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
if RUN_LOCAL:
|
if RUN_LOCAL:
|
||||||
|
|||||||
Reference in New Issue
Block a user