36
37
super(BaseMonitorTest, self).setUp()
39
40
functional_base.SUDO_CMD)
40
41
if rootwrap_not_configured:
41
42
# The monitor tests require a nested invocation that has
42
43
# to be emulated by double sudo if rootwrap is not
46
48
self._check_test_requirements()
47
49
self.bridge = self.create_ovs_bridge()
49
51
def _check_test_requirements(self):
51
52
self.check_command(['ovsdb-client', 'list-dbs'],
53
54
'password-less sudo not granted for ovsdb-client',
57
58
class TestOvsdbMonitor(BaseMonitorTest):