diff --git a/openedx/core/djangoapps/schedules/management/commands/tests/test_send_recurring_nudge.py b/openedx/core/djangoapps/schedules/management/commands/tests/test_send_recurring_nudge.py index 254e4d46ab..3b7e3832b9 100644 --- a/openedx/core/djangoapps/schedules/management/commands/tests/test_send_recurring_nudge.py +++ b/openedx/core/djangoapps/schedules/management/commands/tests/test_send_recurring_nudge.py @@ -49,8 +49,6 @@ NUM_COURSE_MODES_QUERIES = 1 class TestSendRecurringNudge(ScheduleBaseEmailTestBase): # pylint: disable=protected-access - ENABLED_CACHES = ['default'] - def setUp(self): super(TestSendRecurringNudge, self).setUp() diff --git a/openedx/core/djangoapps/schedules/management/commands/tests/test_send_upgrade_reminder.py b/openedx/core/djangoapps/schedules/management/commands/tests/test_send_upgrade_reminder.py index ebd496abf9..0f76b6190b 100644 --- a/openedx/core/djangoapps/schedules/management/commands/tests/test_send_upgrade_reminder.py +++ b/openedx/core/djangoapps/schedules/management/commands/tests/test_send_upgrade_reminder.py @@ -62,8 +62,6 @@ LOG = logging.getLogger(__name__) @freeze_time('2017-08-01 00:00:00', tz_offset=0, tick=True) class TestUpgradeReminder(ScheduleBaseEmailTestBase, SharedModuleStoreTestCase): - ENABLED_CACHES = ['default'] - @classmethod def setUpClass(cls): super(TestUpgradeReminder, cls).setUpClass() diff --git a/openedx/core/djangoapps/schedules/management/commands/tests/tools.py b/openedx/core/djangoapps/schedules/management/commands/tests/tools.py index e83526df76..faeb95a051 100644 --- a/openedx/core/djangoapps/schedules/management/commands/tests/tools.py +++ b/openedx/core/djangoapps/schedules/management/commands/tests/tools.py @@ -1,4 +1,5 @@ from openedx.core.djangolib.testing.utils import CacheIsolationTestCase, FilteredQueryCountMixin class ScheduleBaseEmailTestBase(FilteredQueryCountMixin, CacheIsolationTestCase): - pass + + ENABLED_CACHES = ['default']