

def test_delete_vol(self):
    tenant = fakes.tenants['foo']
    app = self.get_app()
    for volume in fakes.volumes[tenant['id']]:
        req = self._build_req(('/storage/%s' % volume['id']), tenant['id'], method='DELETE')
        resp = req.get_response(app)
        self.assertContentType(resp)
        self.assertEqual(204, resp.status_code)

dataset/ETHPy150Open openstack/ooi/ooi/tests/middleware/test_storage_controller.py TestStorageController.test_delete_vol/original