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
29cf0976
Commit
29cf0976
authored
Jul 25, 2012
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing up cms tests to only use data in common/test/data
parent
85adfde1
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
28 additions
and
291 deletions
+28
-291
cms/djangoapps/contentstore/tests/tests.py
+1
-0
cms/envs/test.py
+13
-1
common/static/images/mute.png
+0
-0
common/test/data/full/custom_tags/slides
+1
-2
common/test/data/full/handouts/schematic_tutorial.pdf
+0
-0
common/test/data/full/info/guest_handouts.html
+0
-119
common/test/data/full/info/handouts.html
+0
-169
lms/envs/test.py
+13
-0
No files found.
cms/djangoapps/contentstore/tests/tests.py
View file @
29cf0976
...
...
@@ -193,6 +193,7 @@ class EditTestCase(ContentStoreTestCase):
self
.
activate_user
(
email
)
self
.
login
(
email
,
password
)
xmodule
.
modulestore
.
django
.
_MODULESTORES
=
{}
xmodule
.
modulestore
.
django
.
modulestore
()
.
collection
.
drop
()
def
check_edit_item
(
self
,
test_course_name
):
import_from_xml
(
'common/test/data/'
,
test_course_name
)
...
...
cms/envs/test.py
View file @
29cf0976
...
...
@@ -22,9 +22,21 @@ TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
TEST_ROOT
=
path
(
'test_root'
)
# Want static files in the same dir for running on jenkins.
STATIC_ROOT
=
TEST_ROOT
/
"staticfiles"
STATIC_ROOT
=
TEST_ROOT
/
"staticfiles"
GITHUB_REPO_ROOT
=
TEST_ROOT
/
"data"
COMMON_TEST_DATA_ROOT
=
COMMON_ROOT
/
"test"
/
"data"
# TODO (cpennington): We need to figure out how envs/test.py can inject things into common.py so that we don't have to repeat this sort of thing
STATICFILES_DIRS
=
[
COMMON_ROOT
/
"static"
,
PROJECT_ROOT
/
"static"
,
]
STATICFILES_DIRS
+=
[
(
course_dir
,
COMMON_TEST_DATA_ROOT
/
course_dir
)
for
course_dir
in
os
.
listdir
(
COMMON_TEST_DATA_ROOT
)
if
os
.
path
.
isdir
(
COMMON_TEST_DATA_ROOT
/
course_dir
)
]
MODULESTORE
=
{
'default'
:
{
...
...
lms
/static/images/mute.png
→
common
/static/images/mute.png
View file @
29cf0976
File moved
common/test/data/full/custom_tags/slides
View file @
29cf0976
Lecture Slides Handout [<a href="/static/handouts/6002-L${lecnum}-oei12-gaps.pdf">Clean </a>][<a href="/static/handouts/6002-L${lecnum}-oei12-gaps-annotated.pdf">Annotated</a>]
\ No newline at end of file
Lecture Slides Handout [<a href="">Clean </a>][<a href="">Annotated</a>]
common/test/data/full/handouts/schematic_tutorial.pdf
0 → 100644
View file @
29cf0976
File added
common/test/data/full/info/guest_handouts.html
deleted
100644 → 0
View file @
85adfde1
<header>
<h1>
Handouts
</h1>
</header>
<ol
class=
"treeview-handoutsnav"
>
<li>
<a
href=
"/static/handouts/syllabus.pdf"
>
Syllabus
</a></li>
<li>
<a
href=
"/static/handouts/calendar.pdf"
>
6.002x At-A-Glance (calendar)
</a></li>
<li>
<a
href=
"/wiki/view/StaffListing"
>
Staff Listing
</a></li>
<li>
<a
href=
"/wiki/view/MathReview"
>
Math Review
</a></li>
<li>
<a
href=
"/static/handouts/schematic_tutorial.pdf"
>
Using the Interactive Laboratory
</a></li>
<li>
<a
href=
"/static/handouts/SystemTools.pdf"
>
How to Use the System
</a></li>
<li>
<a
href=
"/wiki/view/QuestionAnswerFAQ"
>
How to Use the Question/Answer forum
</a></li>
<li>
<h4>
Lecture Slides
</h4>
<ul>
<li>
<h3>
S1 - Administrivia and Circuit Elements
</h3>
<p><a
href=
"/static/handouts/6002-L1-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L1-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S2 - Circuit Analysis Toolchest
</h3>
<p><a
href=
"/static/handouts/6002-L2-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L2-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S3 - Linearity and Superposition
</h3>
<p><a
href=
"/static/handouts/6002-L3-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L3-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S4 - Static Discipline and Boolean Logic
</h3>
<p><a
href=
"/static/handouts/6002-L4-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L4-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S5 - Inside the Gate
</h3>
<p><a
href=
"/static/handouts/6002-L5-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L5-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S6 - Circuits with Nonlinear Elements
</h3>
<p><a
href=
"/static/handouts/6002-L6-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L6-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S7 - Incremental Analysis
</h3>
<p><a
href=
"/static/handouts/6002-L7-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L7-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S8 - Dependent Sources and Amplifiers
</h3>
<p><a
href=
"/static/handouts/6002-L8-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L8-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S9 - MOSFETs: Large Signals
</h3>
<p><a
href=
"/static/handouts/6002-L9-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L9-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S10 - MOSFET Amplifiers: Small Signal Model
</h3>
<p><a
href=
"/static/handouts/6002-L10-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L10-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S11 - Small-Signal Circuit Models
</h3>
<p><a
href=
"/static/handouts/6002-L11-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L11-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S12 - Capacitors and First-Order Circuits
</h3>
<p><a
href=
"/static/handouts/6002-L12-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L12-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S13 - Inductors and First-Order Circuits
</h3>
<p><a
href=
"/static/handouts/6002-L13-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L13-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S14 - Speed of Digital Circuits
</h3>
<p><a
href=
"/static/handouts/6002-L14-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L14-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S15 - Ramps, Steps, and Impulses
</h3>
<p><a
href=
"/static/handouts/6002-L15-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L15-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S16 - State and Memory
</h3>
<p><a
href=
"/static/handouts/6002-L16-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L16-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S17 - Undamped Second-Order Systems
</h3>
<p><a
href=
"/static/handouts/6002-L17-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L17-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S18 - Damped Second-Order Systems
</h3>
<p><a
href=
"/static/handouts/6002-L18-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L18-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S19 - Sinusoidal Steady State
</h3>
<p><a
href=
"/static/handouts/6002-L19-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L19-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S20 - The Impedance Model
</h3>
<p><a
href=
"/static/handouts/6002-L20-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L20-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S21 - Filters
</h3>
<p><a
href=
"/static/handouts/6002-L21-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L21-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S22 - Time Domain Versus Frequency Domain Analysis
</h3>
<p><a
href=
"/static/handouts/6002-L22-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L22-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S23 - The Operational Amplifier Abstraction
</h3>
<p><a
href=
"/static/handouts/6002-L23-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L23-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S24 - Operational Amplifier Circuits
</h3>
<p><a
href=
"/static/handouts/6002-L24-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L24-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
</ul>
</li>
</ol>
common/test/data/full/info/handouts.html
deleted
100644 → 0
View file @
85adfde1
<header>
<h1>
Handouts
</h1>
</header>
<ol
class=
"treeview-handoutsnav"
>
<li>
<a
href=
"/static/handouts/syllabus.pdf"
>
Syllabus
</a></li>
<li>
<a
href=
"/static/handouts/calendar.pdf"
>
6.002x At-A-Glance (calendar)
</a></li>
<li>
<a
href=
"/wiki/view/StaffListing"
>
Staff Listing
</a></li>
<li>
<a
href=
"/wiki/view/MathReview"
>
Math Review
</a></li>
<li>
<a
href=
"/static/handouts/schematic_tutorial.pdf"
>
Using the Interactive Laboratory
</a></li>
<li>
<a
href=
"/static/handouts/SystemTools.pdf"
>
How to Use the System
</a></li>
<li>
<a
href=
"/wiki/view/QuestionAnswerFAQ"
>
How to Use the Question/Answer forum
</a></li>
<li>
<h4>
Lecture Slides
</h4>
<ul>
<li>
<h3>
S1 - Administrivia and Circuit Elements
</h3>
<p><a
href=
"/static/handouts/6002-L1-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L1-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S2 - Circuit Analysis Toolchest
</h3>
<p><a
href=
"/static/handouts/6002-L2-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L2-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S3 - Linearity and Superposition
</h3>
<p><a
href=
"/static/handouts/6002-L3-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L3-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S4 - Static Discipline and Boolean Logic
</h3>
<p><a
href=
"/static/handouts/6002-L4-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L4-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S5 - Inside the Gate
</h3>
<p><a
href=
"/static/handouts/6002-L5-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L5-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S6 - Circuits with Nonlinear Elements
</h3>
<p><a
href=
"/static/handouts/6002-L6-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L6-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S7 - Incremental Analysis
</h3>
<p><a
href=
"/static/handouts/6002-L7-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L7-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S8 - Dependent Sources and Amplifiers
</h3>
<p><a
href=
"/static/handouts/6002-L8-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L8-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S9 - MOSFETs: Large Signals
</h3>
<p><a
href=
"/static/handouts/6002-L9-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L9-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S10 - MOSFET Amplifiers: Small Signal Model
</h3>
<p><a
href=
"/static/handouts/6002-L10-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L10-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S11 - Small-Signal Circuit Models
</h3>
<p><a
href=
"/static/handouts/6002-L11-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L11-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S12 - Capacitors and First-Order Circuits
</h3>
<p><a
href=
"/static/handouts/6002-L12-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L12-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S13 - Inductors and First-Order Circuits
</h3>
<p><a
href=
"/static/handouts/6002-L13-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L13-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S14 - Speed of Digital Circuits
</h3>
<p><a
href=
"/static/handouts/6002-L14-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L14-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S15 - Ramps, Steps, and Impulses
</h3>
<p><a
href=
"/static/handouts/6002-L15-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L15-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S16 - State and Memory
</h3>
<p><a
href=
"/static/handouts/6002-L16-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L16-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S17 - Undamped Second-Order Systems
</h3>
<p><a
href=
"/static/handouts/6002-L17-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L17-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S18 - Damped Second-Order Systems
</h3>
<p><a
href=
"/static/handouts/6002-L18-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L18-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S19 - Sinusoidal Steady State
</h3>
<p><a
href=
"/static/handouts/6002-L19-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L19-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S20 - The Impedance Model
</h3>
<p><a
href=
"/static/handouts/6002-L20-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L20-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S21 - Filters
</h3>
<p><a
href=
"/static/handouts/6002-L21-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L21-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
<li>
<h3>
S22 - Time Domain Versus Frequency Domain Analysis
</h3>
<p><a
href=
"/static/handouts/6002-L22-oei12-gaps.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002-L22-oei12-gaps-annotated.pdf"
>
Annotated
</a></p>
</li>
</ul>
</li>
<li>
<h4>
Weekly solutions
</h4>
<ul>
<li>
<h3>
Week 1 Solutions
</h3>
<p><a
href=
"/static/handouts/solutions/Week1Ex.pdf"
>
Exercises
</a>
<a
href=
"/static/handouts/solutions/Week1HW.pdf"
>
Homework
</a>
<a
href=
"/static/handouts/solutions/Week1Lab.pdf"
>
Lab
</a></p>
</li>
<li>
<h3>
Week 2 Solutions
</h3>
<p><a
href=
"/static/handouts/solutions/Week2Ex.pdf"
>
Exercises
</a>
<a
href=
"/static/handouts/solutions/Week2HW.pdf"
>
Homework
</a>
<a
href=
"/static/handouts/solutions/Week2Lab2B.pdf"
>
Lab
</a></p>
</li>
<li>
<h3>
Week 3 Solutions
</h3>
<p><a
href=
"/static/handouts/solutions/Week3Ex.pdf"
>
Exercises
</a>
<a
href=
"/static/handouts/solutions/Week3HW.pdf"
>
Homework
</a>
<a
href=
"/static/handouts/solutions/Week3Lab.pdf"
>
Lab
</a></p>
</li>
<li>
<h3>
Week 4 Solutions
</h3>
<p><a
href=
"/static/handouts/solutions/Week4Ex.pdf"
>
Exercises
</a>
<a
href=
"/static/handouts/solutions/Week4HW.pdf"
>
Homework
</a>
<a
href=
"/static/handouts/solutions/Week4Lab.pdf"
>
Lab
</a></p>
</li>
<li>
<h3>
Week 5 Solutions
</h3>
<p><a
href=
"/static/handouts/solutions/Week5Ex.pdf"
>
Exercises
</a><a
href=
"/static/handouts/solutions/Week5HW.pdf"
>
Homework
</a>
<a
href=
"/static/handouts/solutions/Week5Lab.pdf"
>
Lab
</a></p>
</li>
<li>
<h3>
Week 6 Solutions
</h3>
<p><a
href=
"/static/handouts/solutions/Week6Ex.pdf"
>
Exercises
</a><a
href=
"/static/handouts/solutions/Week6HW.pdf"
>
Homework
</a>
<a
href=
"/static/handouts/solutions/Week6Lab.pdf"
>
Lab
</a></p>
</li>
<li>
<h3>
Week 7 Solutions
</h3>
<p><a
href=
"/static/handouts/solutions/Week7Ex.pdf"
>
Exercises
</a><a
href=
"/static/handouts/solutions/Week7HW.pdf"
>
Homework
</a>
<a
href=
"/static/handouts/solutions/Week7Lab.pdf"
>
Lab
</a></p>
</li>
<li>
<h3>
Week 8 Solutions
</h3>
<p><a
href=
"/static/handouts/solutions/Week8Ex.pdf"
>
Exercises
</a><a
href=
"/static/handouts/solutions/Week8HW.pdf"
>
Homework
</a>
<a
href=
"/static/handouts/solutions/Week8Lab.pdf"
>
Lab
</a></p>
<li>
<h3>
Week 9 Solutions
</h3>
<p><a
href=
"/static/handouts/solutions/Week9Ex.pdf"
>
Exercises
</a></p>
</li>
<li>
<h3>
Week 10 Solutions
</h3>
<p><a
href=
"/static/handouts/solutions/Week10Ex.pdf"
>
Exercises
</a></p>
</li>
<li>
<h3>
Week 11 Solutions
</h3>
<p><a
href=
"/static/handouts/solutions/Week11Ex.pdf"
>
Exercises
</a></p>
</li>
</ul>
</li>
<li>
<h3>
Midterm Review Problems
</h3>
<p><a
href=
"/static/handouts/6002x-MidTermReview-S2012-clean.pdf"
>
Clean
</a>
<a
href=
"/static/handouts/6002x-MidTermReview-S2012.pdf"
>
With Solutions
</a></p>
</li>
<li>
<a
href=
"/static/handouts/solutions/Midterm.pdf"
>
Midterm Solutions
</a></li>
</ol>
lms/envs/test.py
View file @
29cf0976
...
...
@@ -46,6 +46,19 @@ LOGGING = get_logger_config(TEST_ROOT / "log",
tracking_filename
=
"tracking.log"
,
debug
=
True
)
COMMON_TEST_DATA_ROOT
=
COMMON_ROOT
/
"test"
/
"data"
# TODO (cpennington): We need to figure out how envs/test.py can inject things into common.py so that we don't have to repeat this sort of thing
STATICFILES_DIRS
=
[
COMMON_ROOT
/
"static"
,
PROJECT_ROOT
/
"static"
,
]
STATICFILES_DIRS
+=
[
(
course_dir
,
COMMON_TEST_DATA_ROOT
/
course_dir
)
for
course_dir
in
os
.
listdir
(
COMMON_TEST_DATA_ROOT
)
if
os
.
path
.
isdir
(
COMMON_TEST_DATA_ROOT
/
course_dir
)
]
DATABASES
=
{
'default'
:
{
'ENGINE'
:
'django.db.backends.sqlite3'
,
...
...
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