You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

14 lines
336 B

from tests.icinga_helper import IcingaHelper
testinfra_hosts = ['ansible://bind-host']
IcingaHelper.icinga_host = 'bind-host'
class TestChecks(IcingaHelper):
def test_host(self):
assert 'wekan-host' in self.get_hosts(host='wekan-host')
def test_service(self):
assert self.is_service_ok('wekan-host!Wekan')