Commit 7eb5f627 by Jesse Zoldak

Use new modulestore override paradigm in the new testcase

parent f8130cc6
...@@ -179,13 +179,15 @@ class EntranceExamsTabsTestCase(LoginEnrollmentTestCase, ModuleStoreTestCase): ...@@ -179,13 +179,15 @@ class EntranceExamsTabsTestCase(LoginEnrollmentTestCase, ModuleStoreTestCase):
self.assertEqual(course_tab_list[1]['tab_id'], 'instructor') self.assertEqual(course_tab_list[1]['tab_id'], 'instructor')
@override_settings(MODULESTORE=TEST_DATA_MIXED_TOY_MODULESTORE)
class TextBookTabsTestCase(LoginEnrollmentTestCase, ModuleStoreTestCase): class TextBookTabsTestCase(LoginEnrollmentTestCase, ModuleStoreTestCase):
""" """
Validate tab behavior when dealing with textbooks. Validate tab behavior when dealing with textbooks.
""" """
MODULESTORE=TEST_DATA_MIXED_TOY_MODULESTORE
def setUp(self): def setUp(self):
super(TextBookTabsTestCase, self).setUp()
self.course = CourseFactory.create() self.course = CourseFactory.create()
self.set_up_books(2) self.set_up_books(2)
self.course.tabs = [ self.course.tabs = [
......
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