summaryrefslogtreecommitdiff
path: root/heatclient/tests/functional
diff options
context:
space:
mode:
authorgong yong sheng <gong.yongsheng@99cloud.net>2016-11-04 10:22:17 +0800
committergong yong sheng <gong.yongsheng@99cloud.net>2016-11-04 16:04:34 +0800
commit3fd502030c00b5d83903788df606144e8a3e2159 (patch)
tree44e88380e265d144883840a1a324848f398493e2 /heatclient/tests/functional
parentc2d6de9a984029f797c2cfcf8ff4270ded8aa22d (diff)
downloadpython-heatclient-3fd502030c00b5d83903788df606144e8a3e2159.tar.gz
Change property option into append action
Heat's other openstack commands are using append for such feature. This patch changes property option from KeyValueAction into append to make them consistent. Change-Id: I34ef34c8fa1ece4e12e20a328a70fa8b389c29d2 Closes-bug: #1639107
Diffstat (limited to 'heatclient/tests/functional')
-rw-r--r--heatclient/tests/functional/osc/v1/test_readonly.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/heatclient/tests/functional/osc/v1/test_readonly.py b/heatclient/tests/functional/osc/v1/test_readonly.py
index 9b705d1..4ad38a6 100644
--- a/heatclient/tests/functional/osc/v1/test_readonly.py
+++ b/heatclient/tests/functional/osc/v1/test_readonly.py
@@ -61,6 +61,9 @@ class SimpleReadOnlyOpenStackClientTest(base.OpenStackClientTestBase):
def test_openstack_stack_list_debug(self):
self.openstack('stack list', flags='--debug')
+ def test_openstack_stack_list_property(self):
+ self.openstack('stack list --property id=123')
+
def test_openstack_help_cmd(self):
help_text = self.openstack('help stack list')
lines = help_text.split('\n')