def test_show(self): """ Test for Returns bridges interfaces along with enslaved physical interfaces """ mock = MagicMock(return_value=True) with patch.object(bridge, "_os_dispatch", mock): self.assertTrue(bridge.show("br"))
def test_show(self): ''' Test for Returns bridges interfaces along with enslaved physical interfaces ''' mock = MagicMock(return_value=True) with patch.object(bridge, '_os_dispatch', mock): self.assertTrue(bridge.show('br'))