def setUp(self): if not lldptool.is_lldpad_service_running(): raise SkipTest('LLDPAD service is not running.')
def lldpad_service(): requires_systemctl() if not lldptool.is_lldpad_service_running(): pytest.skip('LLDPAD service is not running.')
def is_active(): return (lldptool.is_lldpad_service_running() and lldptool.is_lldptool_functional())
def lldpad_service(): if not lldptool.is_lldpad_service_running(): pytest.skip('LLDPAD service is not running.')
def is_active(): return lldptool.is_lldpad_service_running()