Commit 134eab8c by Valera Rozuvan Committed by polesye

Adding fix for failing Python unit test.

parent f9b64cad
...@@ -72,10 +72,11 @@ class TestLTI(BaseTestXmodule): ...@@ -72,10 +72,11 @@ class TestLTI(BaseTestXmodule):
generated_context = self.item_module.render('student_view').content generated_context = self.item_module.render('student_view').content
expected_context = { expected_context = {
'input_fields': self.correct_headers, 'input_fields': self.correct_headers,
'display_name': self.item_module.display_name,
'element_class': self.item_module.location.category, 'element_class': self.item_module.location.category,
'element_id': self.item_module.location.html_id(), 'element_id': self.item_module.location.html_id(),
'launch_url': 'http://www.example.com', # default value 'launch_url': 'http://www.example.com', # default value
'open_in_a_new_page': True 'open_in_a_new_page': True,
} }
self.assertEqual( self.assertEqual(
generated_context, generated_context,
......
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