예제 #1
0
 def setUp(self):
     super(TestFCDotHillCommon, self).setUp()
     self.config = FakeConfiguration1()
     self.common = dothill_common.DotHillCommon(self.config)
     self.common.client_login = mock.MagicMock()
     self.common.client_logout = mock.MagicMock()
     self.common.serialNumber = "xxxxx"
     self.common.owner = "A"
     self.connector_element = "wwpns"
예제 #2
0
 def _init_common(self):
     return dothillcommon.DotHillCommon(self.configuration)