def test_interfaces(): """ Test if it return information about all the interfaces on the minion """ with patch.object(salt.utils.network, "win_interfaces", MagicMock(return_value=True)): assert win_network.interfaces()
def test_interfaces(self): ''' Test if it return information about all the interfaces on the minion ''' with patch.object(salt.utils.network, 'win_interfaces', MagicMock(return_value=True)): self.assertTrue(win_network.interfaces())
def test_interfaces(self): ''' Test if it return information about all the interfaces on the minion ''' with patch.object(salt.utils.network, 'win_interfaces', MagicMock(return_value=True)): self.assertTrue(win_network.interfaces())
def test_interfaces(self): ''' Test if it return information about all the interfaces on the minion ''' self.assertTrue(win_network.interfaces())