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