Skip to content

Commit

Permalink
fixup! Dell OS10 backport without trunk port strip patch
Browse files Browse the repository at this point in the history
Change-Id: I5d2f098d7633a23d60ae85d8b1e4cffb43182b4e
(cherry picked from commit 56735ab)
(cherry picked from commit e16b831)
  • Loading branch information
markgoddard authored and mnasiadka committed Sep 7, 2023
1 parent f630c0a commit e690d06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions networking_generic_switch/tests/unit/netmiko/test_dell.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
Expand Down

0 comments on commit e690d06

Please sign in to comment.