Commit 49d3a7d3 by Toby Lawrence

More quality fixes.

parent ead2f047
......@@ -30,14 +30,10 @@ class TestMicrosites(SharedModuleStoreTestCase, LoginEnrollmentTestCase):
org='TestMicrositeX',
emit_signals=True,
)
cls.chapter0 = ItemFactory.create(parent_location=cls.course.location,
display_name='Overview')
cls.chapter9 = ItemFactory.create(parent_location=cls.course.location,
display_name='factory_chapter')
cls.section0 = ItemFactory.create(parent_location=cls.chapter0.location,
display_name='Welcome')
cls.section9 = ItemFactory.create(parent_location=cls.chapter9.location,
display_name='factory_section')
cls.chapter0 = ItemFactory.create(parent_location=cls.course.location, display_name='Overview')
cls.chapter9 = ItemFactory.create(parent_location=cls.course.location, display_name='factory_chapter')
cls.section0 = ItemFactory.create(parent_location=cls.chapter0.location, display_name='Welcome')
cls.section9 = ItemFactory.create(parent_location=cls.chapter9.location, display_name='factory_section')
cls.course_outside_microsite = CourseFactory.create(
display_name='Robot_Course_Outside_Microsite',
......
......@@ -393,7 +393,7 @@ class TestMasqueradedGroup(StaffMasqueradeTestCase):
group.
"""
self.course.cohort_config = {'cohorted': True}
modulestore().update_item(self.course, self.test_user.id) # pylint: disable=no-member
modulestore().update_item(self.course, self.test_user.id) # pylint: disable=no-member
cohort = CohortFactory.create(course_id=self.course.id, users=[self.test_user])
CourseUserGroupPartitionGroup(
course_user_group=cohort,
......
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