Switch test cases to sudo dependent

KeepalivedManagerTestCase and BridgeMonitorTestCase both depend on sudo
privileges.

Change-Id: I5de14f3e2f969ab6bd5882b2c740afaba11eb957
This commit is contained in:
Andrii Ostapenko 2019-07-19 21:46:37 -05:00
parent b3d9d9742a
commit 7a20b1293a
2 changed files with 2 additions and 2 deletions

View File

@ -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):

View File

@ -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: