set root logging level for acceptance tests to ERROR
This commit is contained in:
@@ -18,6 +18,9 @@ DEBUG = True
|
||||
import logging
|
||||
logging.basicConfig(filename=TEST_ROOT / "log" / "cms_acceptance.log", level=logging.ERROR)
|
||||
|
||||
# set root logger level
|
||||
logging.getLogger().setLevel(logging.ERROR)
|
||||
|
||||
import os
|
||||
|
||||
|
||||
|
||||
@@ -19,6 +19,9 @@ SITE_NAME = 'localhost:{}'.format(LETTUCE_SERVER_PORT)
|
||||
import logging
|
||||
logging.basicConfig(filename=TEST_ROOT / "log" / "lms_acceptance.log", level=logging.ERROR)
|
||||
|
||||
# set root logger level
|
||||
logging.getLogger().setLevel(logging.ERROR)
|
||||
|
||||
import os
|
||||
from random import choice
|
||||
import string
|
||||
|
||||
Reference in New Issue
Block a user