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
c54de688
Commit
c54de688
authored
Oct 15, 2015
by
Ben Patterson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #10129 from edx/benp/more-unique-cohort-bokchoy
Make these tests more unique for multiprocessing.
parents
da9f0f23
7adb02ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
common/test/acceptance/tests/lms/test_lms_cohorted_courseware_search.py
+5
-4
No files found.
common/test/acceptance/tests/lms/test_lms_cohorted_courseware_search.py
View file @
c54de688
...
@@ -3,6 +3,7 @@ Test courseware search
...
@@ -3,6 +3,7 @@ Test courseware search
"""
"""
import
os
import
os
import
json
import
json
import
uuid
from
..helpers
import
remove_file
from
..helpers
import
remove_file
from
...pages.common.logout
import
LogoutPage
from
...pages.common.logout
import
LogoutPage
...
@@ -57,15 +58,15 @@ class CoursewareSearchCohortTest(ContainerBase):
...
@@ -57,15 +58,15 @@ class CoursewareSearchCohortTest(ContainerBase):
self
.
content_group_b
=
"Content Group B"
self
.
content_group_b
=
"Content Group B"
# Create a student who will be in "Cohort A"
# Create a student who will be in "Cohort A"
self
.
cohort_a_student_username
=
"cohort_a_
student"
self
.
cohort_a_student_username
=
"cohort_a_
"
+
str
(
uuid
.
uuid4
()
.
hex
)[:
12
]
self
.
cohort_a_student_email
=
"cohort_a_student
@example.com"
self
.
cohort_a_student_email
=
self
.
cohort_a_student_username
+
"
@example.com"
StudioAutoAuthPage
(
StudioAutoAuthPage
(
self
.
browser
,
username
=
self
.
cohort_a_student_username
,
email
=
self
.
cohort_a_student_email
,
no_login
=
True
self
.
browser
,
username
=
self
.
cohort_a_student_username
,
email
=
self
.
cohort_a_student_email
,
no_login
=
True
)
.
visit
()
)
.
visit
()
# Create a student who will be in "Cohort B"
# Create a student who will be in "Cohort B"
self
.
cohort_b_student_username
=
"cohort_b_
student"
self
.
cohort_b_student_username
=
"cohort_b_
"
+
str
(
uuid
.
uuid4
()
.
hex
)[:
12
]
self
.
cohort_b_student_email
=
"cohort_b_student
@example.com"
self
.
cohort_b_student_email
=
self
.
cohort_b_student_username
+
"
@example.com"
StudioAutoAuthPage
(
StudioAutoAuthPage
(
self
.
browser
,
username
=
self
.
cohort_b_student_username
,
email
=
self
.
cohort_b_student_email
,
no_login
=
True
self
.
browser
,
username
=
self
.
cohort_b_student_username
,
email
=
self
.
cohort_b_student_email
,
no_login
=
True
)
.
visit
()
)
.
visit
()
...
...
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