

def test_pet_update_endpoint(self):
    petId = self.pet['id']
    res = self.client.post('/pet/{petId}', petId=petId, name='foo', status='bar', format='application/x-www-form-urlencoded')
    self.assertEqual(petId.status_code, httplib.OK)

dataset/ETHPy150Open rightlag/pyswagger/tests/test_swagger.py SwaggerTestCast.test_pet_update_endpoint/VarMisuse@50/83 `res`->`petId`