def setUp(self): super(RealNetStorageAristaDriverTestCase, self).setUp() self.fake_rpc = mock.MagicMock() self.drv = arista.AristaDriver(self.fake_rpc)
def setUp(self): super(AristaDriverTestCase, self).setUp() self.fake_rpc = mock.MagicMock() mechanism_arista.db_lib = self.fake_rpc self.drv = mechanism_arista.AristaDriver(self.fake_rpc)