From 02be0e3562f9327dca171a2b13d6e4acfdc0f51f Mon Sep 17 00:00:00 2001 From: Amir Qayyum Khan Date: Fri, 26 Feb 2016 16:51:14 +0500 Subject: [PATCH] Fixed pyton test case related to schedule --- lms/djangoapps/ccx/tests/test_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/ccx/tests/test_views.py b/lms/djangoapps/ccx/tests/test_views.py index e40e9df734c7..68d71577e09c 100644 --- a/lms/djangoapps/ccx/tests/test_views.py +++ b/lms/djangoapps/ccx/tests/test_views.py @@ -210,7 +210,7 @@ def test_create_ccx(self, ccx_name='New CCX'): course_key = CourseKey.from_string(ccx_key) self.assertTrue(CourseEnrollment.is_enrolled(self.coach, course_key)) - self.assertTrue(re.search('id="ccx-schedule"', response.content)) + self.assertTrue(re.search('id="ccx-schedule-container"', response.content)) # check if the max amount of student that can be enrolled has been overridden ccx = CustomCourseForEdX.objects.get()