Exemplo n.º 1
0
 def test_0050_start_the_plugin(self):
     tp = TestPlugin(self.name, get_sanitized_hostname())
     self.assertTrue(tp.request_startup())
     self.assertTrue(tp.wait_for_event(STATUS_ALIVE))
     # just wait 1 second to get clearer logs
     time.sleep(10)
Exemplo n.º 2
0
 def test_0050_start_the_plugin(self):
     tp = TestPlugin(self.name, get_sanitized_hostname())
     self.assertTrue(tp.request_startup())
     self.assertTrue(tp.wait_for_event(STATUS_ALIVE))
     # just wait 1 second to get clearer logs
     time.sleep(10)
Exemplo n.º 3
0
 def test_9990_stop_the_plugin(self):
     tp = TestPlugin(self.name, get_sanitized_hostname())
     tp.request_stop()
     self.assertTrue(tp.wait_for_event(STATUS_STOPPED))
Exemplo n.º 4
0
 def test_9990_stop_the_plugin(self):
     tp = TestPlugin(self.name, get_sanitized_hostname())
     tp.request_stop()
     self.assertTrue(tp.wait_for_event(STATUS_STOPPED))