Esempio n. 1
0
 def test_is_switch_supported_wedge100(self):
     driver = flexswitch_module.FlexswitchNOSDriver()
     self.assertTrue(driver.is_switch_supported("accton", "wedge100"))
Esempio n. 2
0
 def test_is_switch_supported_not(self):
     driver = flexswitch_module.FlexswitchNOSDriver()
     self.assertFalse(driver.is_switch_supported("Foo", "bar-v1"))