diff options
| author | jichenjc <jichenjc@cn.ibm.com> | 2016-02-20 22:33:18 +0800 |
|---|---|---|
| committer | Dean Troyer <dtroyer@gmail.com> | 2016-05-27 11:47:25 -0500 |
| commit | 460846cef28a502a51e4d52865743aea73e2f960 (patch) | |
| tree | d440dfeeb4425f28c8073b7d3f3da1ee5ddd1031 /openstackclient/tests/fakes.py | |
| parent | 9da02d14eadc39da6f97b3df095af8b0c452a5b4 (diff) | |
| download | python-openstackclient-460846cef28a502a51e4d52865743aea73e2f960.tar.gz | |
[compute] Add server backup function
Add server backup function
There is no return value for this command per following doc
http://developer.openstack.org/api-ref-compute-v2.1.html#createBackup,
also novaclient can't be updated now due to backward compatible issue
http://lists.openstack.org/pipermail/openstack-dev/2016-March/089376.html,
so we have to get the information ourselves.
The Image tests were not using warlock images, so that needed to be fixed
before we could completely test things like --wait.
Change-Id: I30159518c4d3fdec89f15963bda641a0b03962d1
Diffstat (limited to 'openstackclient/tests/fakes.py')
| -rw-r--r-- | openstackclient/tests/fakes.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openstackclient/tests/fakes.py b/openstackclient/tests/fakes.py index 229b4652..fb7a957a 100644 --- a/openstackclient/tests/fakes.py +++ b/openstackclient/tests/fakes.py @@ -105,6 +105,9 @@ class FakeClient(object): class FakeClientManager(object): + _api_version = { + 'image': '2', + } def __init__(self): self.compute = None |
