

def assertContextExact(self, response, context):
    "\n        Asserts that the response's context contains the names and values\n        specified by context.\n        \n        "
    self.assertTrue((hasattr(response, 'context') and response.context), 'The response must have a non-empty context attribute.')
    self.assertItemsExact(response.context, context)

dataset/ETHPy150Open skibblenybbles/django-daydreamer/daydreamer/test/context.py TestCase.assertContextExact/original