From e690d067bdadac059633a62af0a0b1704ed62ffb Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Wed, 8 Feb 2023 11:59:19 +0000 Subject: [PATCH] fixup! Dell OS10 backport without trunk port strip patch Change-Id: I5d2f098d7633a23d60ae85d8b1e4cffb43182b4e (cherry picked from commit 56735ab351936f669eabfb27d0160190ac8a5350) (cherry picked from commit e16b831a9b0972e510e99f8d224eb71d3b9158d5) --- networking_generic_switch/tests/unit/netmiko/test_dell.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/networking_generic_switch/tests/unit/netmiko/test_dell.py b/networking_generic_switch/tests/unit/netmiko/test_dell.py index f489ed4e..8b16a140 100644 --- a/networking_generic_switch/tests/unit/netmiko/test_dell.py +++ b/networking_generic_switch/tests/unit/netmiko/test_dell.py @@ -191,7 +191,7 @@ def test_add_network(self, m_exec): @mock.patch('networking_generic_switch.devices.netmiko_devices.' 'NetmikoSwitch.send_commands_to_device') def test_add_network_with_trunk_ports(self, mock_exec): - switch = self._make_switch_device({'ngs_trunk_ports': 'port1, port2'}) + switch = self._make_switch_device({'ngs_trunk_ports': 'port1,port2'}) switch.add_network(33, '0ae071f5-5be9-43e4-80ea-e41fefe85b21') mock_exec.assert_called_with( ['interface vlan 33', @@ -212,7 +212,7 @@ def test_del_network(self, mock_exec): @mock.patch('networking_generic_switch.devices.netmiko_devices.' 'NetmikoSwitch.send_commands_to_device') def test_del_network_with_trunk_ports(self, mock_exec): - switch = self._make_switch_device({'ngs_trunk_ports': 'port1, port2'}) + switch = self._make_switch_device({'ngs_trunk_ports': 'port1,port2'}) switch.del_network(33, '0ae071f55be943e480eae41fefe85b21') mock_exec.assert_called_with( ['interface port1', 'no switchport trunk allowed vlan 33', 'exit',