Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
a61cbab3
Commit
a61cbab3
authored
May 17, 2012
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make tests work by default, without having to create any extra directories
parent
37abb7aa
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
2 deletions
+3
-2
envs/test.py
+3
-2
test_root/data/course_settings.py
+0
-0
test_root/data/custom_tags/.git-keep
+0
-0
test_root/log/.git-keep
+0
-0
No files found.
envs/test.py
View file @
a61cbab3
...
...
@@ -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
(
PROJEC
T_ROOT
/
"log"
,
LOGGING
=
logsettings
.
get_logger_config
(
TES
T_ROOT
/
"log"
,
logging_env
=
"dev"
,
tracking_filename
=
"tracking.log"
,
debug
=
True
)
...
...
test_data/course_settings.py
→
test_
root/
data/course_settings.py
View file @
a61cbab3
File moved
test_data/custom_tags/.git-keep
→
test_
root/
data/custom_tags/.git-keep
View file @
a61cbab3
File moved
test_root/log/.git-keep
0 → 100644
View file @
a61cbab3
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment