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