Merge "Network: Improve no option test for "network create"."

This commit is contained in:
Jenkins 2015-12-16 07:02:06 +00:00 committed by Gerrit Code Review
commit 1c5528d5cb

View File

@ -93,6 +93,16 @@ class TestCreateNetworkIdentityV3(TestNetwork):
)
def test_create_no_options(self):
arglist = []
verifylist = []
try:
# Missing required args should bail here
self.check_parser(self.cmd, arglist, verifylist)
except tests_utils.ParserException:
pass
def test_create_default_options(self):
arglist = [
self._network.name,
]