diff options
Diffstat (limited to 'cinderclient/tests/unit/v2/fakes.py')
| -rw-r--r-- | cinderclient/tests/unit/v2/fakes.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cinderclient/tests/unit/v2/fakes.py b/cinderclient/tests/unit/v2/fakes.py index f641ee7..b0c78b9 100644 --- a/cinderclient/tests/unit/v2/fakes.py +++ b/cinderclient/tests/unit/v2/fakes.py @@ -437,6 +437,14 @@ class FakeHTTPClient(base_client.HTTPClient): elif action == 'os-migrate_volume': assert 'host' in body[action] assert 'force_host_copy' in body[action] + elif action == 'os-enable_replication': + assert body[action] is None + elif action == 'os-disable_replication': + assert body[action] is None + elif action == 'os-list_replication_targets': + assert body[action] is None + elif action == 'os-failover_replication': + assert 'secondary' in body[action] elif action == 'os-update_readonly_flag': assert list(body[action]) == ['readonly'] elif action == 'os-retype': |
