def setUpClass(cls): BaseCoursewareTests.setUpClass() cls.course.tabs.append(ExternalLinkCourseTab.load('external_link', name='Zombo', link='http://zombo.com')) cls.course.tabs.append( ExternalLinkCourseTab.load('external_link', name='Hidden', link='http://hidden.com', is_hidden=True) ) cls.store.update_item(cls.course, cls.user.id)
def setUpClass(cls): BaseCoursewareTests.setUpClass() cls.course.tabs.append(ExternalLinkCourseTab.load('external_link', name='Zombo', link='http://zombo.com')) cls.course.tabs.append( ExternalLinkCourseTab.load('external_link', name='Hidden', link='http://hidden.com', is_hidden=True) ) cls.store.update_item(cls.course, cls.user.id) LinkedInAddToProfileConfigurationFactory.create() CourseModeFactory(course_id=cls.course.id, mode_slug=CourseMode.AUDIT) CourseModeFactory( course_id=cls.course.id, mode_slug=CourseMode.VERIFIED, expiration_datetime=datetime(3028, 1, 1), min_price=149, sku='ABCD1234', )