From 9775af862073ca4180ff24fdaf5625d47b43feb2 Mon Sep 17 00:00:00 2001 From: Feanil Patel <feanil@edx.org> Date: Thu, 12 Jul 2018 11:26:19 -0400 Subject: [PATCH] Remove flaky studio unit test. --- .../tests/studio/test_studio_outline.py | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/common/test/acceptance/tests/studio/test_studio_outline.py b/common/test/acceptance/tests/studio/test_studio_outline.py index 57209acb5ee..ce0fbf782ab 100644 --- a/common/test/acceptance/tests/studio/test_studio_outline.py +++ b/common/test/acceptance/tests/studio/test_studio_outline.py @@ -550,30 +550,6 @@ class UnitAccessTest(CourseOutlineTest): ) ) - def _set_restriction_on_unrestricted_unit(self, unit): - """ - Restrict unit access to a certain group and confirm that a - warning is displayed. Then, remove the access restriction - and verify that the warning no longer appears. - """ - self.assertFalse(unit.has_restricted_warning) - unit.toggle_unit_access('Content Groups', [self.content_group_a_id]) - self.assertTrue(unit.has_restricted_warning) - unit.toggle_unit_access('Content Groups', [self.content_group_a_id]) - self.assertFalse(unit.has_restricted_warning) - - def test_units_can_be_restricted(self): - """ - Visit the course outline page, restrict access to a unit. - Verify that there is a restricted group warning. - Remove the group access restriction and verify that there - is no longer a warning. - """ - self.course_outline_page.visit() - self.course_outline_page.expand_all_subsections() - unit = self.course_outline_page.section_at(0).subsection_at(0).unit_at(0) - self._set_restriction_on_unrestricted_unit(unit) - @attr(shard=14) class StaffLockTest(CourseOutlineTest): -- GitLab