From 25a4fec7d150d472d5bfc0ec1981dfa44943a2f8 Mon Sep 17 00:00:00 2001 From: John Eskew Date: Wed, 6 May 2015 10:44:55 -0400 Subject: [PATCH] boostrapper -> bootstrapper --- common/lib/xmodule/xmodule/modulestore/tests/test_publish.py | 4 ++-- .../xmodule/xmodule/modulestore/tests/test_split_migrator.py | 4 ++-- .../xmodule/modulestore/tests/test_split_w_old_mongo.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/common/lib/xmodule/xmodule/modulestore/tests/test_publish.py b/common/lib/xmodule/xmodule/modulestore/tests/test_publish.py index 2e80c11a6c..0d55eb194b 100644 --- a/common/lib/xmodule/xmodule/modulestore/tests/test_publish.py +++ b/common/lib/xmodule/xmodule/modulestore/tests/test_publish.py @@ -5,12 +5,12 @@ from nose.plugins.attrib import attr from xmodule.modulestore import ModuleStoreEnum 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 @attr('mongo') -class TestPublish(SplitWMongoCourseBoostrapper): +class TestPublish(SplitWMongoCourseBootstrapper): """ Test the publish code (primary causing orphans) """ diff --git a/common/lib/xmodule/xmodule/modulestore/tests/test_split_migrator.py b/common/lib/xmodule/xmodule/modulestore/tests/test_split_migrator.py index 3b97df2b90..39c42285aa 100644 --- a/common/lib/xmodule/xmodule/modulestore/tests/test_split_migrator.py +++ b/common/lib/xmodule/xmodule/modulestore/tests/test_split_migrator.py @@ -10,11 +10,11 @@ from nose.plugins.attrib import attr from xblock.fields import Reference, ReferenceList, ReferenceValueDict, UNIQUE_ID 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') -class TestMigration(SplitWMongoCourseBoostrapper): +class TestMigration(SplitWMongoCourseBootstrapper): """ Test the split migrator """ diff --git a/common/lib/xmodule/xmodule/modulestore/tests/test_split_w_old_mongo.py b/common/lib/xmodule/xmodule/modulestore/tests/test_split_w_old_mongo.py index 31d1dba5af..1ae6109dfe 100644 --- a/common/lib/xmodule/xmodule/modulestore/tests/test_split_w_old_mongo.py +++ b/common/lib/xmodule/xmodule/modulestore/tests/test_split_w_old_mongo.py @@ -17,7 +17,7 @@ from xmodule.modulestore.tests.test_cross_modulestore_import_export import Memor @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. Override _create_course and after invoking the super() _create_course, have it call _create_item for @@ -51,7 +51,7 @@ class SplitWMongoCourseBoostrapper(unittest.TestCase): self.db_config['collection'] = 'modulestore{0}'.format(uuid.uuid4().hex[:5]) self.user_id = random.getrandbits(32) - super(SplitWMongoCourseBoostrapper, self).setUp() + super(SplitWMongoCourseBootstrapper, self).setUp() self.split_mongo = SplitMongoModuleStore( None, self.db_config,