From 138ad3988fd4b06c238076f262ba14dfdb7cb3e7 Mon Sep 17 00:00:00 2001 From: cahrens Date: Thu, 23 May 2013 17:06:02 -0400 Subject: [PATCH] Update test (and set PREVIEW_LMS_BASE to something different so we can actually test the method). --- cms/djangoapps/contentstore/tests/test_utils.py | 2 +- cms/envs/test.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cms/djangoapps/contentstore/tests/test_utils.py b/cms/djangoapps/contentstore/tests/test_utils.py index 3b755b0ec2..0757992f2f 100644 --- a/cms/djangoapps/contentstore/tests/test_utils.py +++ b/cms/djangoapps/contentstore/tests/test_utils.py @@ -26,7 +26,7 @@ class LMSLinksTestCase(TestCase): link = utils.get_lms_link_for_item(location, True) self.assertEquals( link, - "//preview.localhost:8000/courses/mitX/101/test/jump_to/i4x://mitX/101/vertical/contacting_us" + "//preview/courses/mitX/101/test/jump_to/i4x://mitX/101/vertical/contacting_us" ) diff --git a/cms/envs/test.py b/cms/envs/test.py index cdee14e16d..8a3f9ba158 100644 --- a/cms/envs/test.py +++ b/cms/envs/test.py @@ -82,7 +82,7 @@ DATABASES = { } LMS_BASE = "localhost:8000" -MITX_FEATURES['PREVIEW_LMS_BASE'] = "localhost:8000" +MITX_FEATURES['PREVIEW_LMS_BASE'] = "preview" CACHES = { # This is the cache used for most things. Askbot will not work without a