Exemplo n.º 1
0
 def test_start_stop(self):
     network = Network(force=True)
     network.start(wait_until_running=True)
     for p in network.processes:
         self.assertTrue(p.is_alive())
     network.stop()
     for p in network.processes:
         self.assertFalse(p.is_alive())
Exemplo n.º 2
0
 def test_start_stop(self):
     network = Network()
     network.start()
     for p in network.processes:
         self.assertTrue(p.is_alive())
     network.stop()
     for p in network.processes:
         self.assertFalse(p.is_alive())
Exemplo n.º 3
0
 def test_stop(self):
     network = Network(force=True)
     network.stop()
     for p in network.processes:
         self.assertFalse(p.is_alive())