

def test_list_vols_empty(self):
    tenant = fakes.tenants['bar']
    app = self.get_app()
    for url in ('/storage/', '/storage'):
        req = self._build_req(url, tenant['id'], method='GET')
        req.environ['HTTP_X_PROJECT_ID'] = tenant['id']
        resp = req.get_response(app)
        expected_result = ''
        self.assertContentType(resp)
        self.assertExpectedResult(expected_result, resp)
        self.assertEqual(204, resp.status_code)

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