summaryrefslogtreecommitdiff
path: root/openstackclient/tests
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/tests')
-rw-r--r--openstackclient/tests/network/v2/test_port.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/openstackclient/tests/network/v2/test_port.py b/openstackclient/tests/network/v2/test_port.py
index f2aa26cf..c3f175bf 100644
--- a/openstackclient/tests/network/v2/test_port.py
+++ b/openstackclient/tests/network/v2/test_port.py
@@ -283,6 +283,7 @@ class TestSetPort(TestPort):
]
verifylist = [
('fixed_ip', [{'ip-address': '10.0.0.11'}]),
+ ('port', self._port.name),
]
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
@@ -304,6 +305,7 @@ class TestSetPort(TestPort):
]
verifylist = [
('fixed_ip', [{'ip-address': '10.0.0.12'}]),
+ ('port', _testport.name),
]
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
result = self.cmd.take_action(parsed_args)
@@ -325,6 +327,7 @@ class TestSetPort(TestPort):
('disable', True),
('no_binding_profile', True),
('no_fixed_ip', True),
+ ('port', self._port.name),
]
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
@@ -352,7 +355,8 @@ class TestSetPort(TestPort):
('vnic_type', 'macvtap'),
('binding_profile', {'foo': 'bar'}),
('host', 'binding-host-id-xxxx'),
- ('name', 'newName')
+ ('name', 'newName'),
+ ('port', self._port.name),
]
parsed_args = self.check_parser(self.cmd, arglist, verifylist)