Switch test cases to sudo dependent
KeepalivedManagerTestCase and BridgeMonitorTestCase both depend on sudo privileges. Change-Id: I5de14f3e2f969ab6bd5882b2c740afaba11eb957
This commit is contained in:
parent
b3d9d9742a
commit
7a20b1293a
|
@ -26,7 +26,7 @@ from neutron.tests.functional import base
|
|||
from neutron.tests.unit.agent.linux import test_keepalived
|
||||
|
||||
|
||||
class KeepalivedManagerTestCase(base.BaseLoggingTestCase,
|
||||
class KeepalivedManagerTestCase(base.BaseSudoTestCase,
|
||||
test_keepalived.KeepalivedConfBaseMixin):
|
||||
|
||||
def setUp(self):
|
||||
|
|
|
@ -45,7 +45,7 @@ class WaitForBridgesEvent(event.RowEvent):
|
|||
return self.event.wait(self.timeout)
|
||||
|
||||
|
||||
class BridgeMonitorTestCase(base.BaseLoggingTestCase):
|
||||
class BridgeMonitorTestCase(base.BaseSudoTestCase):
|
||||
|
||||
def _delete_bridges(self, bridges):
|
||||
for bridge in bridges:
|
||||
|
|
Loading…
Reference in New Issue