

def assertContextIncludes(self, response, names):
    "\n        Asserts that the response's context contains the given name(s).\n        \n        "
    self.assertTrue((hasattr(response, 'context') and response.context), 'The response must have a non-empty context attribute.')
    self.assertKeysIn(response, response.context)

dataset/ETHPy150Open skibblenybbles/django-daydreamer/daydreamer/test/context.py TestCase.assertContextIncludes/VarMisuse@40/98 `names`->`response`