This commit is contained in:
Rafael.Timmerberg 2013-06-28 01:01:41 +02:00
commit f2b0737249
5 changed files with 90 additions and 0 deletions

10
test/PingTest.py Normal file
View file

@ -0,0 +1,10 @@
__author__ = 'rafael'
from lib.services.ping import PingService
from lib.config.hostgroups import HostGroup
from lib.config.members import Member
member = Member()
ps = PingService(fails={"warn": 100})
hg = HostGroup("pingGroup", members=[])