test: fix option in port test

This fixes a test that uses the option --no-security-group, which
actually does not exist. `argparse` fuzzy-matching system makes the test
work by guessing that it's an abbrev for --no-security-groups, but
that's just luck at this point.

Change-Id: I903ce9564a83d3ee69f4efeb726d3c2d3ff69bbb
This commit is contained in:
Julien Danjou
2016-01-01 14:09:54 +01:00
parent c8af63d793
commit c7586cd59d

View File

@@ -284,7 +284,7 @@ class CLITestV20PortJSON(test_cli20.CLITestV20Base):
name = 'myname'
myid = 'myid'
netid = 'netid'
args = ['--no-security-group', netid]
args = ['--no-security-groups', netid]
position_names = ['network_id', 'security_groups']
position_values = [netid, []]
self._test_create_resource(resource, cmd, name, myid, args,