Remove DEBUG from unit tests, as it breaks travis

This commit is contained in:
Raphael Michel
2015-01-11 20:08:36 +01:00
parent 3c09998894
commit 20f200795c

View File

@@ -54,7 +54,7 @@ class BrowserTest(LiveServerTestCase):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
settings.DEBUG = True
settings.DEBUG = ('--debug' in sys.argv)
def setUp(self):
if RUN_LOCAL: