Commit 9829b13a by Matt Drayer Committed by Jonathan Piacenti

mattdrayer/api-test-module-render-fix: Corrected helper logic

parent e9cbb6f3
......@@ -1284,6 +1284,7 @@ class TestModuleTrackingContext(ModuleStoreTestCase):
event_type = call_data.get('event_type')
if event_type == 'problem_check':
break
self.fail('Event type "problem_check" not found in call list.')
return call_data['context']['module']['display_name']
......
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