Need a few more skipUnless() checks.
This commit is contained in:
committed by
Brian O'Connor
parent
94324e3f46
commit
45d365f98b
@@ -34,10 +34,14 @@ class testSingleSwitchOVSKernel( testSingleSwitchCommon, unittest.TestCase ):
|
|||||||
"Test ping with single switch topology (OVS kernel switch)."
|
"Test ping with single switch topology (OVS kernel switch)."
|
||||||
switchClass = OVSKernelSwitch
|
switchClass = OVSKernelSwitch
|
||||||
|
|
||||||
|
|
||||||
|
@unittest.skipUnless( quietRun( 'which ivs-ctl' ), 'IVS is not installed' )
|
||||||
class testSingleSwitchIVS( testSingleSwitchCommon, unittest.TestCase ):
|
class testSingleSwitchIVS( testSingleSwitchCommon, unittest.TestCase ):
|
||||||
"Test ping with single switch topology (IVS switch)."
|
"Test ping with single switch topology (IVS switch)."
|
||||||
switchClass = IVSSwitch
|
switchClass = IVSSwitch
|
||||||
|
|
||||||
|
@unittest.skipUnless( quietRun( 'which ofprotocol' ),
|
||||||
|
'Reference user switch is not installed' )
|
||||||
class testSingleSwitchUserspace( testSingleSwitchCommon, unittest.TestCase ):
|
class testSingleSwitchUserspace( testSingleSwitchCommon, unittest.TestCase ):
|
||||||
"Test ping with single switch topology (Userspace switch)."
|
"Test ping with single switch topology (Userspace switch)."
|
||||||
switchClass = UserSwitch
|
switchClass = UserSwitch
|
||||||
|
|||||||
Reference in New Issue
Block a user