summaryrefslogtreecommitdiff
path: root/openstackclient/tests/functional
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-01-24 15:35:33 +0000
committerGerrit Code Review <review@openstack.org>2017-01-24 15:35:33 +0000
commitbfad2abf23de1689a28d0377b0498db0feccdf3a (patch)
tree7c8e211282ea4758da7358985d2e3c8a434f2898 /openstackclient/tests/functional
parent1ef0dae8b1347d78cecec8007031679e7315f77b (diff)
parent4d9da2c40ae02086258cfde852b297754d8085fa (diff)
downloadpython-openstackclient-bfad2abf23de1689a28d0377b0498db0feccdf3a.tar.gz
Merge "Fix OSC networking commands help errors"
Diffstat (limited to 'openstackclient/tests/functional')
-rw-r--r--openstackclient/tests/functional/common/test_help.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/openstackclient/tests/functional/common/test_help.py b/openstackclient/tests/functional/common/test_help.py
index bbc52197..211c52b1 100644
--- a/openstackclient/tests/functional/common/test_help.py
+++ b/openstackclient/tests/functional/common/test_help.py
@@ -64,3 +64,10 @@ class HelpTests(base.TestCase):
raw_output = self.openstack('help server')
for command in [row[0] for row in self.SERVER_COMMANDS]:
self.assertIn(command, raw_output)
+
+ def test_networking_commands_help(self):
+ """Check networking related commands in help message."""
+ raw_output = self.openstack('help network list')
+ self.assertIn('List networks', raw_output)
+ raw_output = self.openstack('network create --help')
+ self.assertIn('Create new network', raw_output)