

def test_status_code_success(self):
    c = envoy.connect('sleep 1')
    time.sleep(2)
    self.assertEqual(self.status_code, 0)

dataset/ETHPy150Open kennethreitz/envoy/test_envoy.py ConnectedCommandTests.test_status_code_success/VarMisuse@30/41 `c`->`self`