diff --git a/common/lib/xmodule/xmodule/modulestore/tests/django_utils.py b/common/lib/xmodule/xmodule/modulestore/tests/django_utils.py index 8fd5b99485..2a9af55ce8 100644 --- a/common/lib/xmodule/xmodule/modulestore/tests/django_utils.py +++ b/common/lib/xmodule/xmodule/modulestore/tests/django_utils.py @@ -218,7 +218,7 @@ class ModuleStoreIsolationMixin(CacheIsolationMixin): MODULESTORE = functools.partial(mixed_store_config, mkdtemp_clean(), {}) CONTENTSTORE = functools.partial(contentstore_config) - ENABLED_CACHES = ['mongo_metadata_inheritance', 'loc_cache'] + ENABLED_CACHES = ['default', 'mongo_metadata_inheritance', 'loc_cache'] __settings_overrides = [] __old_modulestores = [] __old_contentstores = [] diff --git a/lms/djangoapps/course_blocks/management/commands/tests/test_generate_course_blocks.py b/lms/djangoapps/course_blocks/management/commands/tests/test_generate_course_blocks.py index 5813f60f23..43e7cfff85 100644 --- a/lms/djangoapps/course_blocks/management/commands/tests/test_generate_course_blocks.py +++ b/lms/djangoapps/course_blocks/management/commands/tests/test_generate_course_blocks.py @@ -15,8 +15,6 @@ class TestGenerateCourseBlocks(ModuleStoreTestCase): """ Tests generate course blocks management command. """ - ENABLED_CACHES = ['default', 'mongo_metadata_inheritance', 'loc_cache'] - def setUp(self): """ Create courses in modulestore. diff --git a/lms/djangoapps/course_blocks/transformers/tests/helpers.py b/lms/djangoapps/course_blocks/transformers/tests/helpers.py index bdffb4f3ea..af8b5afa77 100644 --- a/lms/djangoapps/course_blocks/transformers/tests/helpers.py +++ b/lms/djangoapps/course_blocks/transformers/tests/helpers.py @@ -36,8 +36,6 @@ class CourseStructureTestCase(TransformerRegistryTestMixin, ModuleStoreTestCase) """ Helper for test cases that need to build course structures. """ - ENABLED_CACHES = ['default', 'mongo_metadata_inheritance', 'loc_cache'] - def setUp(self): """ Create users. diff --git a/openedx/core/djangoapps/content/block_structure/tests/test_signals.py b/openedx/core/djangoapps/content/block_structure/tests/test_signals.py index ebb1225e7d..e5531aa7c6 100644 --- a/openedx/core/djangoapps/content/block_structure/tests/test_signals.py +++ b/openedx/core/djangoapps/content/block_structure/tests/test_signals.py @@ -14,8 +14,6 @@ class CourseBlocksSignalTest(ModuleStoreTestCase): """ Tests for the Course Blocks signal """ - ENABLED_CACHES = ['default', 'mongo_metadata_inheritance', 'loc_cache'] - def setUp(self): super(CourseBlocksSignalTest, self).setUp() self.course = CourseFactory.create()