diff --git a/common/djangoapps/student/tests/test_course_listing.py b/common/djangoapps/student/tests/test_course_listing.py index 13d838715e..336cdbbe63 100644 --- a/common/djangoapps/student/tests/test_course_listing.py +++ b/common/djangoapps/student/tests/test_course_listing.py @@ -88,6 +88,7 @@ class TestCourseListing(ModuleStoreTestCase): courses_list = list(get_course_enrollment_pairs(self.student, None, [])) self.assertEqual(courses_list, []) + @unittest.skipUnless(settings.ROOT_URLCONF == 'lms.urls', 'Test only valid in lms') def test_course_listing_errored_deleted_courses(self): """ Create good courses, courses that won't load, and deleted courses which still have