Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
138ad398
Commit
138ad398
authored
May 23, 2013
by
cahrens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update test (and set PREVIEW_LMS_BASE to something different so we can actually test the method).
parent
a03a4fdd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
cms/djangoapps/contentstore/tests/test_utils.py
+1
-1
cms/envs/test.py
+1
-1
No files found.
cms/djangoapps/contentstore/tests/test_utils.py
View file @
138ad398
...
...
@@ -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"
)
...
...
cms/envs/test.py
View file @
138ad398
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment