Commit 8d6031d4 by Jonathan Piacenti

Fix module rendering tests.

parent 273b6c68
...@@ -1049,7 +1049,7 @@ class TestModuleTrackingContext(ModuleStoreTestCase): ...@@ -1049,7 +1049,7 @@ class TestModuleTrackingContext(ModuleStoreTestCase):
call_data = call[1][0] call_data = call[1][0]
event_type = call_data.get('event_type') event_type = call_data.get('event_type')
if event_type == 'problem_check': if event_type == 'problem_check':
return call_data['context']['module']['display_name'] return call_data['context']['module']
self.fail('Event type "problem_check" not found in call list.') self.fail('Event type "problem_check" not found in call list.')
def test_missing_display_name(self, mock_tracker): def test_missing_display_name(self, mock_tracker):
......
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