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
0b0a4a75
Commit
0b0a4a75
authored
May 06, 2013
by
Steve Strassmann
Browse files
Options
Browse Files
Download
Plain Diff
pull from master
parents
8e735b4d
2ffaea7a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
lms/djangoapps/courseware/tests/tests.py
+4
-4
No files found.
lms/djangoapps/courseware/tests/tests.py
View file @
0b0a4a75
'''
'''
Test for lms courseware app
Test for lms courseware app
'''
'''
import
logging
import
logging
import
json
import
json
import
time
import
time
import
random
import
random
from
urlparse
import
urlsplit
,
urlunsplit
from
urlparse
import
urlsplit
,
urlunsplit
from
uuid
import
uuid4
from
django.contrib.auth.models
import
User
,
Group
from
django.contrib.auth.models
import
User
,
Group
from
django.test
import
TestCase
from
django.test
import
TestCase
...
@@ -62,7 +62,7 @@ def mongo_store_config(data_dir):
...
@@ -62,7 +62,7 @@ def mongo_store_config(data_dir):
'default_class'
:
'xmodule.raw_module.RawDescriptor'
,
'default_class'
:
'xmodule.raw_module.RawDescriptor'
,
'host'
:
'localhost'
,
'host'
:
'localhost'
,
'db'
:
'test_xmodule'
,
'db'
:
'test_xmodule'
,
'collection'
:
'modulestore
'
,
'collection'
:
'modulestore
_
%
s'
%
uuid4
()
.
hex
,
'fs_root'
:
data_dir
,
'fs_root'
:
data_dir
,
'render_template'
:
'mitxmako.shortcuts.render_to_string'
,
'render_template'
:
'mitxmako.shortcuts.render_to_string'
,
}
}
...
@@ -81,7 +81,7 @@ def draft_mongo_store_config(data_dir):
...
@@ -81,7 +81,7 @@ def draft_mongo_store_config(data_dir):
'default_class'
:
'xmodule.raw_module.RawDescriptor'
,
'default_class'
:
'xmodule.raw_module.RawDescriptor'
,
'host'
:
'localhost'
,
'host'
:
'localhost'
,
'db'
:
'test_xmodule'
,
'db'
:
'test_xmodule'
,
'collection'
:
'modulestore
'
,
'collection'
:
'modulestore
_
%
s'
%
uuid4
()
.
hex
,
'fs_root'
:
data_dir
,
'fs_root'
:
data_dir
,
'render_template'
:
'mitxmako.shortcuts.render_to_string'
,
'render_template'
:
'mitxmako.shortcuts.render_to_string'
,
}
}
...
@@ -92,7 +92,7 @@ def draft_mongo_store_config(data_dir):
...
@@ -92,7 +92,7 @@ def draft_mongo_store_config(data_dir):
'default_class'
:
'xmodule.raw_module.RawDescriptor'
,
'default_class'
:
'xmodule.raw_module.RawDescriptor'
,
'host'
:
'localhost'
,
'host'
:
'localhost'
,
'db'
:
'test_xmodule'
,
'db'
:
'test_xmodule'
,
'collection'
:
'modulestore
'
,
'collection'
:
'modulestore
_
%
s'
%
uuid4
()
.
hex
,
'fs_root'
:
data_dir
,
'fs_root'
:
data_dir
,
'render_template'
:
'mitxmako.shortcuts.render_to_string'
,
'render_template'
:
'mitxmako.shortcuts.render_to_string'
,
}
}
...
...
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