def test_flavor_manage_deleted(self):
        # create a deleted flavor
        new_flav = {'flavor': rand_flavor()}
        self.api.api_post('flavors', new_flav)
        self.api.api_delete('flavors/%s' % new_flav['flavor']['id'])

        # deleted flavor should not show up in a list
        resp = self.api.api_get('flavors')
        self.assertFlavorNotInList(new_flav['flavor'], resp.body)
Ensure the behavior around a deleted flavor is stable.
dataset/ETHPy150Open openstack/nova/nova/tests/functional/wsgi/test_flavor_manage.py/FlavorManageFullstack.test_flavor_manage_deleted