Skip to content
Snippets Groups Projects
Commit a61cbab3 authored by Calen Pennington's avatar Calen Pennington
Browse files

Make tests work by default, without having to create any extra directories

parent 37abb7aa
Branches
Tags
No related merge requests found
......@@ -25,7 +25,8 @@ for app in os.listdir(PROJECT_ROOT / 'djangoapps'):
TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
# Local Directories
COURSES_ROOT = PROJECT_ROOT / "test_data"
TEST_ROOT = path("test_root")
COURSES_ROOT = TEST_ROOT / "data"
DATA_DIR = COURSES_ROOT
MAKO_TEMPLATES['course'] = [DATA_DIR]
MAKO_TEMPLATES['sections'] = [DATA_DIR / 'sections']
......@@ -34,7 +35,7 @@ MAKO_TEMPLATES['main'] = [PROJECT_ROOT / 'templates',
DATA_DIR / 'info',
DATA_DIR / 'problems']
LOGGING = logsettings.get_logger_config(PROJECT_ROOT / "log",
LOGGING = logsettings.get_logger_config(TEST_ROOT / "log",
logging_env="dev",
tracking_filename="tracking.log",
debug=True)
......
File moved
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment