Example #1
0
 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"))
Example #2
0
 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'))
Example #3
0
 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'))