test: Update more tests that had short passwords.

This commit is contained in:
Feanil Patel
2023-09-29 13:24:31 -04:00
parent ae42b094ea
commit 1e2ea85372
96 changed files with 365 additions and 351 deletions

View File

@@ -161,7 +161,7 @@ class InstructorTaskCourseTestCase(LoginEnrollmentTestCase, ModuleStoreTestCase)
if self.current_user != username:
self.logout()
user_email = User.objects.get(username=username).email
self.login(user_email, "test")
self.login(user_email, self.TEST_PASSWORD)
self.current_user = username
def _create_user(self, username, email=None, is_staff=False, mode='honor', enrollment_active=True):