summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-07-11 23:49:25 +0000
committerGerrit Code Review <review@openstack.org>2018-07-11 23:49:25 +0000
commitbe4a1dd6dd55c3820d0339a2e0ede8031e13ea5c (patch)
tree9463d9a3f16fd601e447f4a9be2a839dafa1d1ba
parentf6bcfe1d89108a4973620247db1a61912f087447 (diff)
parent9f6a4ceecfef858f503df3f63de4f945374eee4f (diff)
Merge "Remove the unit test 'test_ports_vnic_type_list'"
-rw-r--r--neutron/tests/unit/_test_extension_portbindings.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/neutron/tests/unit/_test_extension_portbindings.py b/neutron/tests/unit/_test_extension_portbindings.py
index e799f3a..ab0914b 100644
--- a/neutron/tests/unit/_test_extension_portbindings.py
+++ b/neutron/tests/unit/_test_extension_portbindings.py
@@ -345,18 +345,3 @@ class PortBindingsVnicTestCaseMixin(object):
345 self.assertEqual(2, len(ports)) 345 self.assertEqual(2, len(ports))
346 for non_admin_port in ports: 346 for non_admin_port in ports:
347 self._check_response_portbindings_vnic_type(non_admin_port) 347 self._check_response_portbindings_vnic_type(non_admin_port)
348
349 def test_ports_vnic_type_list(self):
350 cfg.CONF.set_default('allow_overlapping_ips', True)
351 vnic_arg = {portbindings.VNIC_TYPE: self.vnic_type}
352 with self.port(name='name1',
353 arg_list=(portbindings.VNIC_TYPE,),
354 **vnic_arg) as port1,\
355 self.port(name='name2') as port2,\
356 self.port(name='name3',
357 arg_list=(portbindings.VNIC_TYPE,),
358 **vnic_arg) as port3:
359 self._test_list_resources(
360 'port', (port1, port2, port3),
361 query_params='%s=%s' % (portbindings.VNIC_TYPE,
362 self.vnic_type))