From e503bb6fc2898335c24ca6ff6ad11a620bbe2071 Mon Sep 17 00:00:00 2001 From: Rene Sorel Date: Thu, 22 Sep 2016 09:44:12 +0200 Subject: [PATCH] correctly test count on org filtered courses --- lms/djangoapps/mobile_api/users/tests.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lms/djangoapps/mobile_api/users/tests.py b/lms/djangoapps/mobile_api/users/tests.py index 75aab525ce..d40b3d835a 100644 --- a/lms/djangoapps/mobile_api/users/tests.py +++ b/lms/djangoapps/mobile_api/users/tests.py @@ -289,6 +289,7 @@ class TestUserEnrollmentApi(UrlResetMixin, MobileAPITestCase, MobileAuthUserTest ] # Enroll in all the courses + self.assertEqual(len(response.data), 3) for course in courses: self.enroll(course.id)