def test_out(self):
     monitor = TextMonitor(SERVICE_URL+"/false", expected='LIVE');
     self.assertFalse(monitor.alive())
 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())
 def test_alive(self):
     monitor = TextMonitor(SERVICE_URL, expected='LIVE')
     self.assertTrue(monitor.alive())