

def test_find_pet_by_id_endpoint(self):
    petId = self.pet['id']
    res = self.client.get('/pet/{petId}', petId=petId)
    self.assertEqual(res.status_code, httplib.OK)
    self.assertTrue(isinstance(res.json(), dict))

dataset/ETHPy150Open rightlag/pyswagger/tests/test_swagger.py SwaggerTestCast.test_find_pet_by_id_endpoint/original