'Ensure the behavior around a deleted flavor is stable.
- Fetching a deleted flavor works, and returns the flavor info.
- Listings should not contain deleted flavors'

def test_flavor_manage_deleted(self):

    new_flav = {'flavor': rand_flavor()}
    self.api.api_post('flavors', new_flav)
    self.api.api_delete(('flavors/%s' % new_flav['flavor']['id']))
    resp = self.api.api_get('flavors')
    self.assertFlavorNotInList(new_flav['flavor'], resp.body)
