Commit b774e0a8 by Calen Pennington Committed by Nimisha Asthagiri

Move ENABLED_CACHES into schedule test base class

parent 5be19e22
...@@ -49,8 +49,6 @@ NUM_COURSE_MODES_QUERIES = 1 ...@@ -49,8 +49,6 @@ NUM_COURSE_MODES_QUERIES = 1
class TestSendRecurringNudge(ScheduleBaseEmailTestBase): class TestSendRecurringNudge(ScheduleBaseEmailTestBase):
# pylint: disable=protected-access # pylint: disable=protected-access
ENABLED_CACHES = ['default']
def setUp(self): def setUp(self):
super(TestSendRecurringNudge, self).setUp() super(TestSendRecurringNudge, self).setUp()
......
...@@ -62,8 +62,6 @@ LOG = logging.getLogger(__name__) ...@@ -62,8 +62,6 @@ LOG = logging.getLogger(__name__)
@freeze_time('2017-08-01 00:00:00', tz_offset=0, tick=True) @freeze_time('2017-08-01 00:00:00', tz_offset=0, tick=True)
class TestUpgradeReminder(ScheduleBaseEmailTestBase, SharedModuleStoreTestCase): class TestUpgradeReminder(ScheduleBaseEmailTestBase, SharedModuleStoreTestCase):
ENABLED_CACHES = ['default']
@classmethod @classmethod
def setUpClass(cls): def setUpClass(cls):
super(TestUpgradeReminder, cls).setUpClass() super(TestUpgradeReminder, cls).setUpClass()
......
from openedx.core.djangolib.testing.utils import CacheIsolationTestCase, FilteredQueryCountMixin from openedx.core.djangolib.testing.utils import CacheIsolationTestCase, FilteredQueryCountMixin
class ScheduleBaseEmailTestBase(FilteredQueryCountMixin, CacheIsolationTestCase): class ScheduleBaseEmailTestBase(FilteredQueryCountMixin, CacheIsolationTestCase):
pass
ENABLED_CACHES = ['default']
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