From b3e959773dde8f2c583ae6faf3955a6d01f1f91a Mon Sep 17 00:00:00 2001 From: Will Daly Date: Wed, 15 May 2013 11:31:52 -0400 Subject: [PATCH] Disabled logging of warnings/errors for acceptance tests to make the logs readable --- cms/envs/acceptance.py | 4 ++++ lms/envs/acceptance.py | 4 ++++ 2 files changed, 8 insertions(+) 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',