Skip to content

Commit de0b7b3

Browse files
committed
fixup! Dell OS10 backport without trunk port strip patch
Change-Id: I5d2f098d7633a23d60ae85d8b1e4cffb43182b4e
1 parent 7b78fb8 commit de0b7b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

networking_generic_switch/tests/unit/netmiko/test_dell.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def test_add_network(self, m_exec):
144144
@mock.patch('networking_generic_switch.devices.netmiko_devices.'
145145
'NetmikoSwitch.send_commands_to_device')
146146
def test_add_network_with_trunk_ports(self, mock_exec):
147-
switch = self._make_switch_device({'ngs_trunk_ports': 'port1, port2'})
147+
switch = self._make_switch_device({'ngs_trunk_ports': 'port1,port2'})
148148
switch.add_network(33, '0ae071f5-5be9-43e4-80ea-e41fefe85b21')
149149
mock_exec.assert_called_with(
150150
['interface vlan 33',
@@ -165,7 +165,7 @@ def test_del_network(self, mock_exec):
165165
@mock.patch('networking_generic_switch.devices.netmiko_devices.'
166166
'NetmikoSwitch.send_commands_to_device')
167167
def test_del_network_with_trunk_ports(self, mock_exec):
168-
switch = self._make_switch_device({'ngs_trunk_ports': 'port1, port2'})
168+
switch = self._make_switch_device({'ngs_trunk_ports': 'port1,port2'})
169169
switch.del_network(33, '0ae071f55be943e480eae41fefe85b21')
170170
mock_exec.assert_called_with(
171171
['interface port1', 'no switchport trunk allowed vlan 33', 'exit',

0 commit comments

Comments
 (0)