

def test_invalid_get_response(self):
    self.client.request('GET', '/spam')
    response = self.client.getresponse()
    response.assertEqual(response.status, 404)
    self.assertEqual(response.getheader('Content-type'), 'text/plain')
    response.read()

dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/test_docxmlrpc.py DocXMLRPCHTTPGETServer.test_invalid_get_response/VarMisuse@31/41 `self`->`response`