set root logging level for acceptance tests to ERROR

This commit is contained in:
Christine Lytwynec
2014-08-14 14:18:51 -04:00
parent 2ca86a8d87
commit bdc4fd4d86
2 changed files with 6 additions and 0 deletions

View File

@@ -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

View File

@@ -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