Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
754145a1
Commit
754145a1
authored
Sep 15, 2015
by
Ben Patterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rebalance. Shard_5 is getting long comparatively.
parent
da626626
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
13 deletions
+13
-13
common/test/acceptance/tests/lms/test_lms.py
+9
-9
common/test/acceptance/tests/lms/test_lms_instructor_dashboard.py
+3
-3
common/test/acceptance/tests/studio/test_studio_library.py
+1
-1
No files found.
common/test/acceptance/tests/lms/test_lms.py
View file @
754145a1
...
...
@@ -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
...
...
common/test/acceptance/tests/lms/test_lms_instructor_dashboard.py
View file @
754145a1
...
...
@@ -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.
...
...
common/test/acceptance/tests/studio/test_studio_library.py
View file @
754145a1
...
...
@@ -186,7 +186,7 @@ class LibraryEditPageTest(StudioLibraryTest):
self
.
assertIn
(
"Checkboxes"
,
problem_block
.
name
)
@attr
(
'shard_
5
'
)
@attr
(
'shard_
2
'
)
@ddt
class
LibraryNavigationTest
(
StudioLibraryTest
):
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment