Commit 6a3dafee by Chris Dodge

update hint manager to pass in a course_id when dereferencing a module

parent bc5e27fe
......@@ -42,7 +42,7 @@ class HintManagerTest(ModuleStoreTestCase):
value=5)
# Mock out location_to_problem_name, which ordinarily accesses 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):
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment