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
6a3dafee
Commit
6a3dafee
authored
Aug 19, 2013
by
Chris Dodge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update hint manager to pass in a course_id when dereferencing a module
parent
bc5e27fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
lms/djangoapps/instructor/tests/test_hint_manager.py
+1
-1
No files found.
lms/djangoapps/instructor/tests/test_hint_manager.py
View file @
6a3dafee
...
@@ -42,7 +42,7 @@ class HintManagerTest(ModuleStoreTestCase):
...
@@ -42,7 +42,7 @@ class HintManagerTest(ModuleStoreTestCase):
value
=
5
)
value
=
5
)
# Mock out location_to_problem_name, which ordinarily accesses the modulestore.
# Mock out location_to_problem_name, which ordinarily accesses the modulestore.
# (I can't figure out how to get fake structures into the modulestore.)
# (I can't figure out how to get fake structures into the modulestore.)
view
.
location_to_problem_name
=
lambda
loc
:
"Test problem"
view
.
location_to_problem_name
=
lambda
course_id
,
loc
:
"Test problem"
def
test_student_block
(
self
):
def
test_student_block
(
self
):
"""
"""
...
...
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