Commit 25a4fec7 by John Eskew

boostrapper -> bootstrapper

parent 83962d64
...@@ -5,12 +5,12 @@ from nose.plugins.attrib import attr ...@@ -5,12 +5,12 @@ from nose.plugins.attrib import attr
from xmodule.modulestore import ModuleStoreEnum from xmodule.modulestore import ModuleStoreEnum
from xmodule.modulestore.exceptions import ItemNotFoundError from xmodule.modulestore.exceptions import ItemNotFoundError
from xmodule.modulestore.tests.test_split_w_old_mongo import SplitWMongoCourseBoostrapper from xmodule.modulestore.tests.test_split_w_old_mongo import SplitWMongoCourseBootstrapper
from xmodule.modulestore.tests.factories import check_mongo_calls, mongo_uses_error_check from xmodule.modulestore.tests.factories import check_mongo_calls, mongo_uses_error_check
@attr('mongo') @attr('mongo')
class TestPublish(SplitWMongoCourseBoostrapper): class TestPublish(SplitWMongoCourseBootstrapper):
""" """
Test the publish code (primary causing orphans) Test the publish code (primary causing orphans)
""" """
......
...@@ -10,11 +10,11 @@ from nose.plugins.attrib import attr ...@@ -10,11 +10,11 @@ from nose.plugins.attrib import attr
from xblock.fields import Reference, ReferenceList, ReferenceValueDict, UNIQUE_ID from xblock.fields import Reference, ReferenceList, ReferenceValueDict, UNIQUE_ID
from xmodule.modulestore.split_migrator import SplitMigrator from xmodule.modulestore.split_migrator import SplitMigrator
from xmodule.modulestore.tests.test_split_w_old_mongo import SplitWMongoCourseBoostrapper from xmodule.modulestore.tests.test_split_w_old_mongo import SplitWMongoCourseBootstrapper
@attr('mongo') @attr('mongo')
class TestMigration(SplitWMongoCourseBoostrapper): class TestMigration(SplitWMongoCourseBootstrapper):
""" """
Test the split migrator Test the split migrator
""" """
......
...@@ -17,7 +17,7 @@ from xmodule.modulestore.tests.test_cross_modulestore_import_export import Memor ...@@ -17,7 +17,7 @@ from xmodule.modulestore.tests.test_cross_modulestore_import_export import Memor
@attr('mongo') @attr('mongo')
class SplitWMongoCourseBoostrapper(unittest.TestCase): class SplitWMongoCourseBootstrapper(unittest.TestCase):
""" """
Helper for tests which need to construct split mongo & old mongo based courses to get interesting internal structure. Helper for tests which need to construct split mongo & old mongo based courses to get interesting internal structure.
Override _create_course and after invoking the super() _create_course, have it call _create_item for Override _create_course and after invoking the super() _create_course, have it call _create_item for
...@@ -51,7 +51,7 @@ class SplitWMongoCourseBoostrapper(unittest.TestCase): ...@@ -51,7 +51,7 @@ class SplitWMongoCourseBoostrapper(unittest.TestCase):
self.db_config['collection'] = 'modulestore{0}'.format(uuid.uuid4().hex[:5]) self.db_config['collection'] = 'modulestore{0}'.format(uuid.uuid4().hex[:5])
self.user_id = random.getrandbits(32) self.user_id = random.getrandbits(32)
super(SplitWMongoCourseBoostrapper, self).setUp() super(SplitWMongoCourseBootstrapper, self).setUp()
self.split_mongo = SplitMongoModuleStore( self.split_mongo = SplitMongoModuleStore(
None, None,
self.db_config, self.db_config,
......
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