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

Currently, test_create_no_options() case actually takes a 'name' arg.
Rename it to test_create_default_options, and add a test_create_no_options
case taking nothing.

Change-Id: I4f9d2e8cbfa843faea641d3cc959f96894c9cd5d
This commit is contained in:
Tang Chen 2015-12-16 14:32:20 +08:00
parent c47aa52c43
commit bd0bed7467

@ -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,
]