

def setUp(self):
    super(BaseMonitorTest, self).setUp()
    rootwrap_not_configured = (cfg.CONF.AGENT.root_helper == functional_base.SUDO_CMD)
    if rootwrap_not_configured:
        self.config(group='AGENT', root_helper=' '.join(([functional_base.SUDO_CMD] * 2)))
    self._check_test_requirements()
    self.useFixture(net_helpers.OVSBridgeFixture())

dataset/ETHPy150Open openstack/neutron/neutron/tests/functional/agent/linux/test_ovsdb_monitor.py BaseMonitorTest.setUp/original