示例#1
0
 def setUp(self):
     super(MlnxMechanismBaseTestCase, self).setUp()
     self.driver = mech_mlnx.MlnxMechanismDriver()
     self.driver.initialize()
示例#2
0
 def setUp(self):
     super(MlnxMechanismBaseTestCase, self).setUp()
     self.driver = mech_mlnx.MlnxMechanismDriver()
     self.driver.initialize()
     m_const_mock.constants.VNIC_TO_VIF_MAPPING.get.return_value = (
         self.driver.vif_type)