summaryrefslogtreecommitdiff
path: root/openstackclient/tests/compute/v2/fakes.py
diff options
context:
space:
mode:
authorHuanxuan Ao <huanxuan.ao@easystack.cn>2016-06-28 14:39:00 +0800
committerHuanxuan Ao <huanxuan.ao@easystack.cn>2016-06-29 19:16:35 +0800
commitdbed97a24df2fb74e4989fb15c912252f8a8bb07 (patch)
treeb1a5bbc4881e23dafc9290c37bf7cc8644134a8b /openstackclient/tests/compute/v2/fakes.py
parent9e47688e5eb2d3e4ee8fe0e15d49b34fe7c5512d (diff)
downloadpython-openstackclient-dbed97a24df2fb74e4989fb15c912252f8a8bb07.tar.gz
Add "--property" option to "flavor create" command
Add "--property" option to "flavor create" command to support adding properties to a new falvor. Change-Id: I4f06b364375d5a81584fe41122d48e9568fa712a Closes-Bug: #1596798
Diffstat (limited to 'openstackclient/tests/compute/v2/fakes.py')
-rw-r--r--openstackclient/tests/compute/v2/fakes.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/openstackclient/tests/compute/v2/fakes.py b/openstackclient/tests/compute/v2/fakes.py
index b7f17fbc..a7a66d5e 100644
--- a/openstackclient/tests/compute/v2/fakes.py
+++ b/openstackclient/tests/compute/v2/fakes.py
@@ -716,6 +716,7 @@ class FakeFlavor(object):
'OS-FLV-DISABLED:disabled': False,
'os-flavor-access:is_public': True,
'OS-FLV-EXT-DATA:ephemeral': 0,
+ 'properties': {'property': 'value'},
}
# Overwrite default attributes.