root: increase testing verbosity to debug CI

This commit is contained in:
Jens Langhammer 2020-05-10 12:50:58 +02:00
parent 7a96f9e894
commit ff4bd1c91f

View file

@ -349,12 +349,11 @@ for handler_name, level in _LOGGING_HANDLER_MAP.items():
TEST = False
TEST_RUNNER = "xmlrunner.extra.djangotestrunner.XMLTestRunner"
TEST_OUTPUT_VERBOSE = 2
TEST_OUTPUT_FILE_NAME = "unittest.xml"
if any("test" in arg for arg in sys.argv):
LOGGING = None
LOGGING["loggers"]["django"]["level"] = "DEBUG"
TEST = True
CELERY_TASK_ALWAYS_EAGER = True