diff --git a/common/test/acceptance/tests/lms/test_lms_cohorted_courseware_search.py b/common/test/acceptance/tests/lms/test_lms_cohorted_courseware_search.py index 90cad93bff..e0739b4385 100644 --- a/common/test/acceptance/tests/lms/test_lms_cohorted_courseware_search.py +++ b/common/test/acceptance/tests/lms/test_lms_cohorted_courseware_search.py @@ -3,6 +3,7 @@ Test courseware search """ import os import json +import uuid from ..helpers import remove_file from ...pages.common.logout import LogoutPage @@ -57,15 +58,15 @@ class CoursewareSearchCohortTest(ContainerBase): self.content_group_b = "Content Group B" # Create a student who will be in "Cohort A" - self.cohort_a_student_username = "cohort_a_student" - self.cohort_a_student_email = "cohort_a_student@example.com" + self.cohort_a_student_username = "cohort_a_" + str(uuid.uuid4().hex)[:12] + self.cohort_a_student_email = self.cohort_a_student_username + "@example.com" StudioAutoAuthPage( self.browser, username=self.cohort_a_student_username, email=self.cohort_a_student_email, no_login=True ).visit() # Create a student who will be in "Cohort B" - self.cohort_b_student_username = "cohort_b_student" - self.cohort_b_student_email = "cohort_b_student@example.com" + self.cohort_b_student_username = "cohort_b_" + str(uuid.uuid4().hex)[:12] + self.cohort_b_student_email = self.cohort_b_student_username + "@example.com" StudioAutoAuthPage( self.browser, username=self.cohort_b_student_username, email=self.cohort_b_student_email, no_login=True ).visit()