

def test_get_ajax_extends_variable_in_context(self):
    response = self.client.get(self.post.get_absolute_url(), HTTP_X_REQUESTED_WITH='XMLHttpRequest')
    self.assertTrue(response)
    self.assertEqual(response.status_code, 200)
    self.assertEqual(self.context['extends_parent'], 'base_ajax.html')

dataset/ETHPy150Open opps/opps/tests/views/test_generic_detail.py TestAjaxRequests.test_get_ajax_extends_variable_in_context/VarMisuse@53/77 `response`->`self`