

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

dataset/ETHPy150Open ecdavis/pants/pants/test/web/test_web_application.py TestUrlFor.test_same_scheme/VarMisuse@34/56 `self`->`response`