From 7aa3ee8df95607757f5d5ded76b0c4dc14cd8e8c Mon Sep 17 00:00:00 2001 From: John Eskew Date: Tue, 22 Dec 2015 17:16:33 -0500 Subject: [PATCH] Remove unused xml_source_dirs from mixed modulestore config. --- .../xmodule/xmodule/modulestore/tests/django_utils.py | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/common/lib/xmodule/xmodule/modulestore/tests/django_utils.py b/common/lib/xmodule/xmodule/modulestore/tests/django_utils.py index 286810069a..1a1298373c 100644 --- a/common/lib/xmodule/xmodule/modulestore/tests/django_utils.py +++ b/common/lib/xmodule/xmodule/modulestore/tests/django_utils.py @@ -32,7 +32,7 @@ class StoreConstructors(object): draft, split = range(2) -def mixed_store_config(data_dir, mappings, xml_source_dirs=None, store_order=None): +def mixed_store_config(data_dir, mappings, store_order=None): """ Return a `MixedModuleStore` configuration, which provides access to both Mongo-backed courses. @@ -51,13 +51,8 @@ def mixed_store_config(data_dir, mappings, xml_source_dirs=None, store_order=Non Keyword Args: - xml_source_dirs (list): The directories containing XML courses to load from disk. - - note: For the courses to be loaded into the XML modulestore and accessible do the following: - * xml_source_dirs should be the list of directories (relative to data_dir) - containing the courses you want to load - * mappings should be configured, pointing the xml courses to the xml modulestore - + store_order (list): List of StoreConstructors providing order of modulestores + to use in creating courses. """ if store_order is None: store_order = [StoreConstructors.draft, StoreConstructors.split]