diff options
| author | Duk Loi <duk@tesora.com> | 2015-06-09 14:07:46 -0400 |
|---|---|---|
| committer | Duk Loi <duk@tesora.com> | 2015-12-10 11:23:53 -0500 |
| commit | e776382c93c2eb9abcf6e6f5f84d43e97f9ca642 (patch) | |
| tree | 9b4d067a745a5ce12b410c5a8653588c3e681314 /troveclient/tests/fakes.py | |
| parent | d820a44e3495959455548b8182929d2adbb1ea5d (diff) | |
| download | python-troveclient-e776382c93c2eb9abcf6e6f5f84d43e97f9ca642.tar.gz | |
Add root-disable api
Add api entry points for root-disable to the Trove client.
Added unit tests.
Change-Id: I27831eb361c2b219a9623f152b9def73a2865d67
Partially implements: blueprint root-disable
DocImpact: added new root-disable CLI command
Diffstat (limited to 'troveclient/tests/fakes.py')
| -rw-r--r-- | troveclient/tests/fakes.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/troveclient/tests/fakes.py b/troveclient/tests/fakes.py index 76cb222..820a433 100644 --- a/troveclient/tests/fakes.py +++ b/troveclient/tests/fakes.py @@ -508,6 +508,9 @@ class FakeHTTPClient(base_client.HTTPClient): def post_clusters_cls_1234_root(self, **kw): return (202, {}, {"user": {"password": "password", "name": "root"}}) + def delete_instances_1234_root(self, **kw): + return (202, {}, None) + def get_instances_1234_root(self, **kw): return (200, {}, {"rootEnabled": 'True'}) |
