

def test_deletePet(self):
    ' deletePet '
    resp = self.client.request(sapp.op['deletePet'](petId=5))
    self.assertEqual(resp.status, 200)
    self.assertEqual(pet_db.read_(5), None)

dataset/ETHPy150Open mission-liao/pyswagger/pyswagger/tests/contrib/client/test_flask.py FlaskTestCase.test_deletePet/original