From 6a3dafeed64bca6793474d3f05939b29e0137cb9 Mon Sep 17 00:00:00 2001 From: Chris Dodge Date: Mon, 19 Aug 2013 14:09:54 -0400 Subject: [PATCH] update hint manager to pass in a course_id when dereferencing a module --- lms/djangoapps/instructor/tests/test_hint_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/instructor/tests/test_hint_manager.py b/lms/djangoapps/instructor/tests/test_hint_manager.py index 8f12572875..8e394d6e54 100644 --- a/lms/djangoapps/instructor/tests/test_hint_manager.py +++ b/lms/djangoapps/instructor/tests/test_hint_manager.py @@ -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): """