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
8267a762
Commit
8267a762
authored
Sep 24, 2015
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move *ModuleStoreBuilders into xmodule.modulestore.tests.utils
parent
972196fe
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
12 additions
and
10 deletions
+12
-10
cms/djangoapps/contentstore/tests/test_courseware_index.py
+4
-2
common/lib/xmodule/xmodule/modulestore/perf_tests/test_asset_import_export.py
+1
-1
common/lib/xmodule/xmodule/modulestore/tests/test_asides.py
+1
-1
common/lib/xmodule/xmodule/modulestore/tests/test_assetstore.py
+1
-1
common/lib/xmodule/xmodule/modulestore/tests/test_cross_modulestore_import_export.py
+0
-0
common/lib/xmodule/xmodule/modulestore/tests/test_mixed_modulestore.py
+1
-1
common/lib/xmodule/xmodule/modulestore/tests/test_mongo_call_count.py
+1
-1
common/lib/xmodule/xmodule/modulestore/tests/test_publish.py
+1
-1
common/lib/xmodule/xmodule/modulestore/tests/test_split_w_old_mongo.py
+1
-1
common/lib/xmodule/xmodule/modulestore/tests/utils.py
+0
-0
common/lib/xmodule/xmodule/tests/test_course_metadata_utils.py
+1
-1
No files found.
cms/djangoapps/contentstore/tests/test_courseware_index.py
View file @
8267a762
...
...
@@ -29,8 +29,10 @@ from xmodule.modulestore.tests.django_utils import (
)
from
xmodule.modulestore.tests.factories
import
CourseFactory
,
ItemFactory
,
LibraryFactory
from
xmodule.modulestore.tests.mongo_connection
import
MONGO_PORT_NUM
,
MONGO_HOST
from
xmodule.modulestore.tests.test_cross_modulestore_import_export
import
MongoContentstoreBuilder
from
xmodule.modulestore.tests.utils
import
create_modulestore_instance
,
LocationMixin
,
MixedSplitTestCase
from
xmodule.modulestore.tests.utils
import
(
create_modulestore_instance
,
LocationMixin
,
MixedSplitTestCase
,
MongoContentstoreBuilder
)
from
xmodule.tests
import
DATA_DIR
from
xmodule.x_module
import
XModuleMixin
from
xmodule.partitions.partitions
import
UserPartition
...
...
common/lib/xmodule/xmodule/modulestore/perf_tests/test_asset_import_export.py
View file @
8267a762
...
...
@@ -16,7 +16,7 @@ from xmodule.assetstore import AssetMetadata
from
xmodule.modulestore
import
ModuleStoreEnum
from
xmodule.modulestore.xml_importer
import
import_course_from_xml
from
xmodule.modulestore.xml_exporter
import
export_course_to_xml
from
xmodule.modulestore.tests.
test_cross_modulestore_import_export
import
(
from
xmodule.modulestore.tests.
utils
import
(
MODULESTORE_SETUPS
,
SHORT_NAME_MAP
,
TEST_DATA_DIR
,
...
...
common/lib/xmodule/xmodule/modulestore/tests/test_asides.py
View file @
8267a762
...
...
@@ -5,7 +5,7 @@ from xblock.core import XBlockAside
from
xblock.fields
import
Scope
,
String
from
xblock.fragment
import
Fragment
from
unittest
import
TestCase
from
xmodule.modulestore.tests.
test_cross_modulestore_import_export
import
XmlModulestoreBuilder
from
xmodule.modulestore.tests.
utils
import
XmlModulestoreBuilder
from
mock
import
patch
...
...
common/lib/xmodule/xmodule/modulestore/tests/test_assetstore.py
View file @
8267a762
...
...
@@ -14,7 +14,7 @@ from xmodule.assetstore import AssetMetadata
from
xmodule.modulestore
import
ModuleStoreEnum
,
SortedAssetList
,
IncorrectlySortedList
from
xmodule.modulestore.exceptions
import
ItemNotFoundError
from
xmodule.modulestore.tests.factories
import
CourseFactory
from
xmodule.modulestore.tests.
test_cross_modulestore_import_export
import
(
from
xmodule.modulestore.tests.
utils
import
(
MIXED_MODULESTORE_BOTH_SETUP
,
MODULESTORE_SETUPS
,
XmlModulestoreBuilder
,
MixedModulestoreBuilder
)
...
...
common/lib/xmodule/xmodule/modulestore/tests/test_cross_modulestore_import_export.py
View file @
8267a762
This diff is collapsed.
Click to expand it.
common/lib/xmodule/xmodule/modulestore/tests/test_mixed_modulestore.py
View file @
8267a762
...
...
@@ -26,7 +26,7 @@ from tempfile import mkdtemp
from
xmodule.x_module
import
XModuleMixin
from
xmodule.modulestore.edit_info
import
EditInfoMixin
from
xmodule.modulestore.inheritance
import
InheritanceMixin
from
xmodule.modulestore.tests.
test_cross_modulestore_import_export
import
MongoContentstoreBuilder
from
xmodule.modulestore.tests.
utils
import
MongoContentstoreBuilder
from
xmodule.contentstore.content
import
StaticContent
from
opaque_keys.edx.keys
import
CourseKey
from
xmodule.modulestore.xml_importer
import
import_course_from_xml
...
...
common/lib/xmodule/xmodule/modulestore/tests/test_mongo_call_count.py
View file @
8267a762
...
...
@@ -11,7 +11,7 @@ import ddt
from
xmodule.modulestore.xml_importer
import
import_course_from_xml
from
xmodule.modulestore.xml_exporter
import
export_course_to_xml
from
xmodule.modulestore.tests.factories
import
check_mongo_calls
from
xmodule.modulestore.tests.
test_cross_modulestore_import_export
import
(
from
xmodule.modulestore.tests.
utils
import
(
MixedModulestoreBuilder
,
VersioningModulestoreBuilder
,
MongoModulestoreBuilder
,
TEST_DATA_DIR
)
...
...
common/lib/xmodule/xmodule/modulestore/tests/test_publish.py
View file @
8267a762
...
...
@@ -19,7 +19,7 @@ from xmodule.modulestore.exceptions import ItemNotFoundError
from
xmodule.modulestore.xml_exporter
import
export_course_to_xml
from
xmodule.modulestore.tests.test_split_w_old_mongo
import
SplitWMongoCourseBootstrapper
from
xmodule.modulestore.tests.factories
import
check_mongo_calls
,
mongo_uses_error_check
,
CourseFactory
,
ItemFactory
from
xmodule.modulestore.tests.
test_cross_modulestore_import_export
import
(
from
xmodule.modulestore.tests.
utils
import
(
MongoContentstoreBuilder
,
MODULESTORE_SETUPS
,
DRAFT_MODULESTORE_SETUP
,
SPLIT_MODULESTORE_SETUP
,
MongoModulestoreBuilder
,
)
...
...
common/lib/xmodule/xmodule/modulestore/tests/test_split_w_old_mongo.py
View file @
8267a762
...
...
@@ -13,7 +13,7 @@ from xmodule.modulestore.inheritance import InheritanceMixin
from
xmodule.modulestore.mongo
import
DraftMongoModuleStore
from
xmodule.modulestore.split_mongo.split
import
SplitMongoModuleStore
from
xmodule.modulestore.tests.mongo_connection
import
MONGO_PORT_NUM
,
MONGO_HOST
from
xmodule.modulestore.tests.
test_cross_modulestore_import_export
import
MemoryCache
from
xmodule.modulestore.tests.
utils
import
MemoryCache
@attr
(
'mongo'
)
...
...
common/lib/xmodule/xmodule/modulestore/tests/utils.py
View file @
8267a762
This diff is collapsed.
Click to expand it.
common/lib/xmodule/xmodule/tests/test_course_metadata_utils.py
View file @
8267a762
...
...
@@ -22,7 +22,7 @@ from xmodule.course_metadata_utils import (
may_certify_for_course
,
)
from
xmodule.fields
import
Date
from
xmodule.modulestore.tests.
test_cross_modulestore_import_export
import
(
from
xmodule.modulestore.tests.
utils
import
(
MongoModulestoreBuilder
,
VersioningModulestoreBuilder
,
MixedModulestoreBuilder
...
...
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