Replace all clean_course_id form methods with common method.
This commit is contained in:
@@ -124,7 +124,7 @@ class AdminCourseRolesPageTest(SharedModuleStoreTestCase):
|
||||
response = self.client.post(reverse('admin:student_courseaccessrole_add'), data=data)
|
||||
self.assertContains(
|
||||
response,
|
||||
'Cannot find course with id {} in the modulestore'.format(
|
||||
'Course not found. Entered course id was: "{}".'.format(
|
||||
course
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user