From b11ca32c68cddaea9a72701e76ff081c6e705c8f Mon Sep 17 00:00:00 2001 From: Jakub Libosvar Date: Mon, 14 Oct 2024 16:14:48 +0000 Subject: [PATCH] ut: Remove unused method Was probably overlooked to be removed from [1] [1] https://opendev.org/openstack/neutron/commit/c32c0af9afc3e08727f7129a93bf78bacb789201 TrivialFix Change-Id: I54805c504dfd5ea9b1faf6a95bd61b3371260f58 --- .../ml2/drivers/ovn/mech_driver/test_mech_driver.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/neutron/tests/unit/plugins/ml2/drivers/ovn/mech_driver/test_mech_driver.py b/neutron/tests/unit/plugins/ml2/drivers/ovn/mech_driver/test_mech_driver.py index 99daeff1095..e8fac59928d 100644 --- a/neutron/tests/unit/plugins/ml2/drivers/ovn/mech_driver/test_mech_driver.py +++ b/neutron/tests/unit/plugins/ml2/drivers/ovn/mech_driver/test_mech_driver.py @@ -4500,14 +4500,6 @@ class TestOVNMechanismDriverMetadataPort(MechDriverSetupBase, p.start() self.addCleanup(p.stop) - def _create_fake_dhcp_port(self, device_id, neutron_port=False): - port = {'network_id': 'fake', - 'device_owner': const.DEVICE_OWNER_DISTRIBUTED, - 'device_id': device_id} - if neutron_port: - port['device_owner'] = const.DEVICE_OWNER_DHCP - return port - def test_metadata_port_on_network_create(self): """Check metadata port create.