

def test_scheme(self):
    response = requests.get('http://127.0.0.1:4040/scheme', timeout=0.5)
    self.assertEqual(response.status_code, 200)
    self.assertEqual(self.text, 'ws://127.0.0.1:4040/')

dataset/ETHPy150Open ecdavis/pants/pants/test/web/test_web_application.py TestUrlFor.test_scheme/VarMisuse@38/58 `response`->`self`