예제 #1
0
 def setUp(self):
     super(RealNetStorageAristaDriverTestCase, self).setUp()
     self.fake_rpc = mock.MagicMock()
     self.drv = arista.AristaDriver(self.fake_rpc)
예제 #2
0
 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)