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
f0f7e0dc
Commit
f0f7e0dc
authored
Feb 13, 2013
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix more tests
parent
bd822b9d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
common/djangoapps/course_groups/tests/tests.py
+2
-2
lms/djangoapps/courseware/module_render.py
+1
-1
No files found.
common/djangoapps/course_groups/tests/tests.py
View file @
f0f7e0dc
...
...
@@ -70,13 +70,13 @@ class TestCohorts(django.test.TestCase):
"id"
:
to_id
(
name
)})
for
name
in
discussions
)
course
.
metadata
[
"discussion_topics"
]
=
topics
course
.
discussion_topics
=
topics
d
=
{
"cohorted"
:
cohorted
}
if
cohorted_discussions
is
not
None
:
d
[
"cohorted_discussions"
]
=
[
to_id
(
name
)
for
name
in
cohorted_discussions
]
course
.
metadata
[
"cohort_config"
]
=
d
course
.
cohort_config
=
d
def
setUp
(
self
):
...
...
lms/djangoapps/courseware/module_render.py
View file @
f0f7e0dc
...
...
@@ -260,7 +260,7 @@ def get_module_for_descriptor(user, request, descriptor, model_data_cache, cours
# by the replace_static_urls code below
replace_urls
=
partial
(
static_replace
.
replace_static_urls
,
data_directory
=
descriptor
.
data_dir
,
data_directory
=
getattr
(
descriptor
,
'data_dir'
,
None
)
,
course_namespace
=
descriptor
.
location
.
_replace
(
category
=
None
,
name
=
None
),
),
node_path
=
settings
.
NODE_PATH
,
...
...
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