File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
networking_generic_switch/tests/unit/netmiko Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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' ,
You can’t perform that action at this time.
0 commit comments