Commit 0aa9f906 by John Eskew Committed by Clinton Blackburn

Remove more XML modulestore test code.

parent 7987b16a
...@@ -29,13 +29,13 @@ from openedx.core.djangoapps.bookmarks.signals import trigger_update_xblocks_cac ...@@ -29,13 +29,13 @@ from openedx.core.djangoapps.bookmarks.signals import trigger_update_xblocks_cac
class StoreConstructors(object): class StoreConstructors(object):
"""Enumeration of store constructor types.""" """Enumeration of store constructor types."""
draft, split, xml = range(3) draft, split = range(2)
def mixed_store_config(data_dir, mappings, include_xml=False, xml_source_dirs=None, store_order=None): def mixed_store_config(data_dir, mappings, include_xml=False, xml_source_dirs=None, store_order=None):
""" """
Return a `MixedModuleStore` configuration, which provides Return a `MixedModuleStore` configuration, which provides
access to both Mongo- and XML-backed courses. access to both Mongo-backed courses.
Args: Args:
data_dir (string): the directory from which to load XML-backed courses. data_dir (string): the directory from which to load XML-backed courses.
...@@ -70,7 +70,6 @@ def mixed_store_config(data_dir, mappings, include_xml=False, xml_source_dirs=No ...@@ -70,7 +70,6 @@ def mixed_store_config(data_dir, mappings, include_xml=False, xml_source_dirs=No
store_constructors = { store_constructors = {
StoreConstructors.split: split_mongo_store_config(data_dir)['default'], StoreConstructors.split: split_mongo_store_config(data_dir)['default'],
StoreConstructors.draft: draft_mongo_store_config(data_dir)['default'], StoreConstructors.draft: draft_mongo_store_config(data_dir)['default'],
StoreConstructors.xml: xml_store_config(data_dir, source_dirs=xml_source_dirs)['default'],
} }
store = { store = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment