

def test_create_vol_no_size(self):
    tenant = fakes.tenants['foo']
    app = self.get_app()
    headers = {
        'Category': 'storage;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind"',
    }
    req = tenant._build_req('/storage', tenant['id'], method='POST', headers=headers)
    resp = req.get_response(app)
    self.assertEqual(400, resp.status_code)
    self.assertDefaults(resp)

dataset/ETHPy150Open openstack/ooi/ooi/tests/middleware/test_storage_controller.py TestStorageController.test_create_vol_no_size/VarMisuse@40/74 `self`->`tenant`