From 7eb5f627d679ed96913ea8248ee25f74bdf10da2 Mon Sep 17 00:00:00 2001 From: Jesse Zoldak Date: Thu, 5 Feb 2015 09:03:35 -0500 Subject: [PATCH] Use new modulestore override paradigm in the new testcase --- lms/djangoapps/courseware/tests/test_tabs.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lms/djangoapps/courseware/tests/test_tabs.py b/lms/djangoapps/courseware/tests/test_tabs.py index 1b410fd58c..e31b6ea1ab 100644 --- a/lms/djangoapps/courseware/tests/test_tabs.py +++ b/lms/djangoapps/courseware/tests/test_tabs.py @@ -179,13 +179,15 @@ class EntranceExamsTabsTestCase(LoginEnrollmentTestCase, ModuleStoreTestCase): self.assertEqual(course_tab_list[1]['tab_id'], 'instructor') -@override_settings(MODULESTORE=TEST_DATA_MIXED_TOY_MODULESTORE) class TextBookTabsTestCase(LoginEnrollmentTestCase, ModuleStoreTestCase): """ Validate tab behavior when dealing with textbooks. """ + MODULESTORE=TEST_DATA_MIXED_TOY_MODULESTORE def setUp(self): + super(TextBookTabsTestCase, self).setUp() + self.course = CourseFactory.create() self.set_up_books(2) self.course.tabs = [