diff --git a/cms/envs/acceptance.py b/cms/envs/acceptance.py index 28a99c5e48..ef88318a3d 100644 --- a/cms/envs/acceptance.py +++ b/cms/envs/acceptance.py @@ -8,6 +8,10 @@ from .test import * # otherwise the browser will not render the pages correctly DEBUG = True +# Disable warnings for acceptance tests, to make the logs readable +import logging +logging.disable(logging.ERROR) + # Show the courses that are in the data directory COURSES_ROOT = ENV_ROOT / "data" DATA_DIR = COURSES_ROOT diff --git a/lms/envs/acceptance.py b/lms/envs/acceptance.py index 36e40663ed..611c3fdac8 100644 --- a/lms/envs/acceptance.py +++ b/lms/envs/acceptance.py @@ -8,6 +8,10 @@ from .test import * # otherwise the browser will not render the pages correctly DEBUG = True +# Disable warnings for acceptance tests, to make the logs readable +import logging +logging.disable(logging.ERROR) + # Use the mongo store for acceptance tests modulestore_options = { 'default_class': 'xmodule.raw_module.RawDescriptor',