From c0a25da964e39a6334c2cdcf4cd21efbbb53dcb2 Mon Sep 17 00:00:00 2001 From: David Baumgold Date: Mon, 22 Sep 2014 15:39:55 -0400 Subject: [PATCH] Skip invalid test when in CMS --- common/djangoapps/student/tests/test_course_listing.py | 1 + 1 file changed, 1 insertion(+) 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