コード例 #1
0
ファイル: test_dothill.py プロジェクト: zcj-Git/cinder
 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)