diff options
| -rw-r--r-- | heatclient/osc/v1/stack.py | 3 | ||||
| -rw-r--r-- | heatclient/tests/functional/osc/v1/test_readonly.py | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/heatclient/osc/v1/stack.py b/heatclient/osc/v1/stack.py index 2dcb579..6787f1c 100644 --- a/heatclient/osc/v1/stack.py +++ b/heatclient/osc/v1/stack.py @@ -16,7 +16,6 @@ import logging import sys -from osc_lib.cli import parseractions from osc_lib.command import command from osc_lib import exceptions as exc from osc_lib import utils @@ -453,7 +452,7 @@ class ListStack(command.Lister): metavar='<key=value>', help=_('Filter properties to apply on returned stacks (repeat to ' 'filter on multiple properties)'), - action=parseractions.KeyValueAction + action='append' ) parser.add_argument( '--tags', 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') |
