Commit e5767336 by Brian Jacobel

Mako templates return context in .context_data rather than .context

parent 284cc17b
......@@ -166,7 +166,7 @@ class TestAuthorizationView(TestCase):
self.assertEqual(response.status_code, 200)
# check form is in context and form params are valid
context = response.context # pylint: disable=no-member
context = response.context_data # pylint: disable=no-member
self.assertIn('form', context)
self.assertIsNone(context['form']['authorize'].value())
......
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