def test_updatePet(self):
        global pet_db
        resp = self.client.request(
            sapp.op['updatePet'](body=dict(id=1, name='Tom1'))
        )

        self.assertEqual(resp.status, 200)
        self.assertEqual(pet_db.read_(1)['name'], 'Tom1')
updatePet
dataset/ETHPy150Open mission-liao/pyswagger/pyswagger/tests/contrib/client/test_flask.py/FlaskTestCase.test_updatePet