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
8bbaf006
Commit
8bbaf006
authored
Oct 22, 2013
by
Don Mitchell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Separate doc_store_config
parent
4e455fd8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
common/lib/xmodule/xmodule/modulestore/tests/test_orphan.py
+4
-3
No files found.
common/lib/xmodule/xmodule/modulestore/tests/test_orphan.py
View file @
8bbaf006
...
...
@@ -28,20 +28,21 @@ class TestOrphan(unittest.TestCase):
'fs_root'
:
''
,
'render_template'
:
mock
.
Mock
(
return_value
=
""
),
'xblock_mixins'
:
(
InheritanceMixin
,)
}
,
**
db_config
)
})
split_course_id
=
'test_org.test_course.runid'
def
setUp
(
self
):
self
.
modulestore_options
[
'collection'
]
=
'modulestore{0}'
.
format
(
uuid
.
uuid4
()
.
hex
)
self
.
db_config
[
'collection'
]
=
'modulestore{0}'
.
format
(
uuid
.
uuid4
()
.
hex
)
self
.
userid
=
random
.
getrandbits
(
32
)
super
(
TestOrphan
,
self
)
.
setUp
()
self
.
split_mongo
=
SplitMongoModuleStore
(
self
.
db_config
,
**
self
.
modulestore_options
)
self
.
addCleanup
(
self
.
tearDownSplit
)
self
.
old_mongo
=
MongoModuleStore
(
**
self
.
modulestore_options
)
self
.
old_mongo
=
MongoModuleStore
(
self
.
db_config
,
**
self
.
modulestore_options
)
self
.
addCleanup
(
self
.
tearDownMongo
)
self
.
course_location
=
None
self
.
_create_course
()
...
...
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