From add01fdfab03c617feb5554c729538deb819eeac Mon Sep 17 00:00:00 2001 From: Jesse Shapiro Date: Mon, 3 Jul 2017 10:48:11 -0400 Subject: [PATCH] Specify catalog URL to configure --- common/djangoapps/course_modes/tests/test_views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/djangoapps/course_modes/tests/test_views.py b/common/djangoapps/course_modes/tests/test_views.py index 7ff5ed448f..41512dc6cc 100644 --- a/common/djangoapps/course_modes/tests/test_views.py +++ b/common/djangoapps/course_modes/tests/test_views.py @@ -141,7 +141,7 @@ class CourseModeViewTest(CatalogIntegrationMixin, UrlResetMixin, ModuleStoreTest for mode in ('audit', 'honor', 'verified'): CourseModeFactory.create(mode_slug=mode, course_id=self.course.id) - catalog_integration = self.create_catalog_integration() + catalog_integration = self.create_catalog_integration(internal_api_url=settings.COURSE_CATALOG_API_URL) UserFactory(username=catalog_integration.service_username) self.mock_course_discovery_api_for_catalog_contains( @@ -254,7 +254,7 @@ class CourseModeViewTest(CatalogIntegrationMixin, UrlResetMixin, ModuleStoreTest for mode in ('audit', 'honor', 'verified'): CourseModeFactory.create(mode_slug=mode, course_id=self.course.id) - catalog_integration = self.create_catalog_integration() + catalog_integration = self.create_catalog_integration(internal_api_url=settings.COURSE_CATALOG_API_URL) UserFactory(username=catalog_integration.service_username) courses_in_catalog = [str(self.course.id)] if course_in_catalog else []