summaryrefslogtreecommitdiff
path: root/cinderclient/tests/unit/v3/fakes_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'cinderclient/tests/unit/v3/fakes_base.py')
-rw-r--r--cinderclient/tests/unit/v3/fakes_base.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cinderclient/tests/unit/v3/fakes_base.py b/cinderclient/tests/unit/v3/fakes_base.py
index ec75ff0..b5f2728 100644
--- a/cinderclient/tests/unit/v3/fakes_base.py
+++ b/cinderclient/tests/unit/v3/fakes_base.py
@@ -550,6 +550,8 @@ class FakeHTTPClient(base_client.HTTPClient):
_body = body
elif action == 'revert':
assert 'snapshot_id' in body[action]
+ elif action == 'os-reimage':
+ assert 'image_id' in body[action]
else:
raise AssertionError("Unexpected action: %s" % action)
return (resp, {}, _body)