def test_out(self):
     monitor = TextMonitor(SERVICE_URL+"/false", expected='LIVE');
     self.assertFalse(monitor.alive())
コード例 #2
0
 def test_out(self):
     monitor = TextMonitor(SERVICE_URL + "/false", expected='LIVE')
     self.assertFalse(monitor.alive())
 def test_alive(self):
     monitor = TextMonitor(SERVICE_URL, expected='LIVE');
     self.assertTrue(monitor.alive())
コード例 #4
0
 def test_alive(self):
     monitor = TextMonitor(SERVICE_URL, expected='LIVE')
     self.assertTrue(monitor.alive())