

def test_bad(self):
    response = requests.get('http://127.0.0.1:4040/bad', timeout=0.5)
    self.assertEqual(response.status_code, 500)

dataset/ETHPy150Open ecdavis/pants/pants/test/web/test_web_application.py TestUrlFor.test_bad/original