summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSteve Baker <sbaker@redhat.com>2012-12-04 11:47:02 +1300
committerSteve Baker <sbaker@redhat.com>2012-12-04 12:04:56 +1300
commit03f9f84abfa348bed08ee39d4d0ae1bc8ace5355 (patch)
treea77a538fbef639a55868918e21d79ad1dd4d3f1f /tests
parent727d07e667b371bc4a27fe1667c47e907b5d04c4 (diff)
downloadpython-heatclient-03f9f84abfa348bed08ee39d4d0ae1bc8ace5355.tar.gz
Deprecate commands and add unified cli replacements.
This is to bring into line with http://wiki.openstack.org/UnifiedCLI/Mapping Here is the mapping, as displayed by 'heat help' create DEPRECATED! Use stack-create instead delete DEPRECATED! Use stack-delete instead describe DEPRECATED! Use stack-show instead event DEPRECATED! Use event-show instead event-list List events for a stack event-show Describe the event gettemplate DEPRECATED! Use template-show instead list DEPRECATED! Use stack-list instead resource DEPRECATED! Use resource-show instead resource-list Show list of resources belonging to a stack resource-metadata List resource metadata resource-show Describe the resource stack-create Create the stack stack-delete Delete the stack stack-list List the user's stacks stack-show Describe the stack stack-update Update the stack template-show Get the template for the specified stack template-validate Validate a template with parameters update DEPRECATED! Use stack-update instead validate DEPRECATED! Use template-validate instead help Display help about this program or one of its subcommands. Change-Id: I1a296de2b935be6cc28fcc49ef8ee7ae333abf1a
Diffstat (limited to 'tests')
-rw-r--r--tests/test_shell.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_shell.py b/tests/test_shell.py
index 79728da..1ff603f 100644
--- a/tests/test_shell.py
+++ b/tests/test_shell.py
@@ -195,11 +195,11 @@ class ShellTest(TestCase):
def test_help_on_subcommand(self):
required = [
- '^usage: heat list',
+ '^usage: heat stack-list',
"(?m)^List the user's stacks",
]
argstrings = [
- 'help list',
+ 'help stack-list',
]
for argstr in argstrings:
help_text = self.shell(argstr)