Exemplo n.º 1
0
Arquivo: tests.py Projeto: crs4/ACTIVE
 def test_stop(self):
         cm = CeleryManager()
         cm.stop()
         sleep(1)
         list = cm.list_nodes()
         self.assertEqual(0, len(list))
Exemplo n.º 2
0
Arquivo: tests.py Projeto: crs4/ACTIVE
 def test_list(self):
         cm = CeleryManager()
         list = cm.list_nodes()
         self.assertEqual(1, len(list))