Commit 754145a1 by Ben Patterson

Rebalance. Shard_5 is getting long comparatively.

parent da626626
...@@ -480,7 +480,7 @@ class PayAndVerifyTest(EventsTestMixin, UniqueCourseTest): ...@@ -480,7 +480,7 @@ class PayAndVerifyTest(EventsTestMixin, UniqueCourseTest):
self.assertEqual(enrollment_mode, 'verified') self.assertEqual(enrollment_mode, 'verified')
@attr('shard_5') @attr('shard_1')
class CourseWikiTest(UniqueCourseTest): class CourseWikiTest(UniqueCourseTest):
""" """
Tests that verify the course wiki. Tests that verify the course wiki.
...@@ -534,7 +534,7 @@ class CourseWikiTest(UniqueCourseTest): ...@@ -534,7 +534,7 @@ class CourseWikiTest(UniqueCourseTest):
self.assertEqual(content, actual_content) self.assertEqual(content, actual_content)
@attr('shard_5') @attr('shard_1')
class HighLevelTabTest(UniqueCourseTest): class HighLevelTabTest(UniqueCourseTest):
""" """
Tests that verify each of the high-level tabs available within a course. Tests that verify each of the high-level tabs available within a course.
...@@ -720,7 +720,7 @@ class PDFTextBooksTabTest(UniqueCourseTest): ...@@ -720,7 +720,7 @@ class PDFTextBooksTabTest(UniqueCourseTest):
self.tab_nav.go_to_tab("PDF Book {}".format(i)) self.tab_nav.go_to_tab("PDF Book {}".format(i))
@attr('shard_5') @attr('shard_1')
class VideoTest(UniqueCourseTest): class VideoTest(UniqueCourseTest):
""" """
Navigate to a video in the courseware and play it. Navigate to a video in the courseware and play it.
...@@ -791,7 +791,7 @@ class VideoTest(UniqueCourseTest): ...@@ -791,7 +791,7 @@ class VideoTest(UniqueCourseTest):
self.assertGreaterEqual(self.video.duration, self.video.elapsed_time) self.assertGreaterEqual(self.video.duration, self.video.elapsed_time)
@attr('shard_5') @attr('shard_1')
class VisibleToStaffOnlyTest(UniqueCourseTest): class VisibleToStaffOnlyTest(UniqueCourseTest):
""" """
Tests that content with visible_to_staff_only set to True cannot be viewed by students. Tests that content with visible_to_staff_only set to True cannot be viewed by students.
...@@ -876,7 +876,7 @@ class VisibleToStaffOnlyTest(UniqueCourseTest): ...@@ -876,7 +876,7 @@ class VisibleToStaffOnlyTest(UniqueCourseTest):
self.assertEqual(["Html Child in visible unit"], self.course_nav.sequence_items) self.assertEqual(["Html Child in visible unit"], self.course_nav.sequence_items)
@attr('shard_5') @attr('shard_1')
class TooltipTest(UniqueCourseTest): class TooltipTest(UniqueCourseTest):
""" """
Tests that tooltips are displayed Tests that tooltips are displayed
...@@ -921,7 +921,7 @@ class TooltipTest(UniqueCourseTest): ...@@ -921,7 +921,7 @@ class TooltipTest(UniqueCourseTest):
self.assertTrue(self.courseware_page.tooltips_displayed()) self.assertTrue(self.courseware_page.tooltips_displayed())
@attr('shard_5') @attr('shard_1')
class PreRequisiteCourseTest(UniqueCourseTest): class PreRequisiteCourseTest(UniqueCourseTest):
""" """
Tests that pre-requisite course messages are displayed Tests that pre-requisite course messages are displayed
...@@ -1006,7 +1006,7 @@ class PreRequisiteCourseTest(UniqueCourseTest): ...@@ -1006,7 +1006,7 @@ class PreRequisiteCourseTest(UniqueCourseTest):
self.settings_page.save_changes() self.settings_page.save_changes()
@attr('shard_5') @attr('shard_1')
class ProblemExecutionTest(UniqueCourseTest): class ProblemExecutionTest(UniqueCourseTest):
""" """
Tests of problems. Tests of problems.
...@@ -1085,7 +1085,7 @@ class ProblemExecutionTest(UniqueCourseTest): ...@@ -1085,7 +1085,7 @@ class ProblemExecutionTest(UniqueCourseTest):
self.assertFalse(problem_page.is_correct()) self.assertFalse(problem_page.is_correct())
@attr('shard_5') @attr('shard_1')
class EntranceExamTest(UniqueCourseTest): class EntranceExamTest(UniqueCourseTest):
""" """
Tests that course has an entrance exam. Tests that course has an entrance exam.
...@@ -1156,7 +1156,7 @@ class EntranceExamTest(UniqueCourseTest): ...@@ -1156,7 +1156,7 @@ class EntranceExamTest(UniqueCourseTest):
)) ))
@attr('shard_5') @attr('shard_1')
class NotLiveRedirectTest(UniqueCourseTest): class NotLiveRedirectTest(UniqueCourseTest):
""" """
Test that a banner is shown when the user is redirected to Test that a banner is shown when the user is redirected to
......
...@@ -44,7 +44,7 @@ class BaseInstructorDashboardTest(EventsTestMixin, UniqueCourseTest): ...@@ -44,7 +44,7 @@ class BaseInstructorDashboardTest(EventsTestMixin, UniqueCourseTest):
return instructor_dashboard_page return instructor_dashboard_page
@attr('shard_5') @attr('shard_1')
class AutoEnrollmentWithCSVTest(BaseInstructorDashboardTest): class AutoEnrollmentWithCSVTest(BaseInstructorDashboardTest):
""" """
End-to-end tests for Auto-Registration and enrollment functionality via CSV file. End-to-end tests for Auto-Registration and enrollment functionality via CSV file.
...@@ -265,7 +265,7 @@ class ProctoredExamsTest(BaseInstructorDashboardTest): ...@@ -265,7 +265,7 @@ class ProctoredExamsTest(BaseInstructorDashboardTest):
self.assertFalse(exam_attempts_section.is_student_attempt_visible) self.assertFalse(exam_attempts_section.is_student_attempt_visible)
@attr('shard_5') @attr('shard_1')
class EntranceExamGradeTest(BaseInstructorDashboardTest): class EntranceExamGradeTest(BaseInstructorDashboardTest):
""" """
Tests for Entrance exam specific student grading tasks. Tests for Entrance exam specific student grading tasks.
...@@ -557,7 +557,7 @@ class DataDownloadsTest(BaseInstructorDashboardTest): ...@@ -557,7 +557,7 @@ class DataDownloadsTest(BaseInstructorDashboardTest):
self.verify_report_download(report_name) self.verify_report_download(report_name)
@attr('shard_5') @attr('shard_1')
class CertificatesTest(BaseInstructorDashboardTest): class CertificatesTest(BaseInstructorDashboardTest):
""" """
Tests for Certificates functionality on instructor dashboard. Tests for Certificates functionality on instructor dashboard.
......
...@@ -186,7 +186,7 @@ class LibraryEditPageTest(StudioLibraryTest): ...@@ -186,7 +186,7 @@ class LibraryEditPageTest(StudioLibraryTest):
self.assertIn("Checkboxes", problem_block.name) self.assertIn("Checkboxes", problem_block.name)
@attr('shard_5') @attr('shard_2')
@ddt @ddt
class LibraryNavigationTest(StudioLibraryTest): class LibraryNavigationTest(StudioLibraryTest):
""" """
......
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