

def test_getPetById(self):
    ' getPetById '
    resp = self.client.request(sapp.op['getPetById'](petId=2))
    self.assertEqual(resp.status, 200)
    resp.assertEqual(resp.data, pet_Mary)

dataset/ETHPy150Open mission-liao/pyswagger/pyswagger/tests/contrib/client/test_flask.py FlaskTestCase.test_getPetById/VarMisuse@44/68 `self`->`resp`