Ejemplo n.º 1
0
    def test_multiple_workers(self):
        status = parse(document_multiple_workers)

        # Only one active worker
        self.assertEqual(len(status.active_workers), 8)

        # 14 workers in total
        self.assertEqual(len(status.workers), 73)
Ejemplo n.º 2
0
    def test_multiple_workers(self):
        status = parse(document_multiple_workers)

        # Only one active worker
        self.assertEqual(len(status.active_workers), 8)

        # 14 workers in total
        self.assertEqual(len(status.workers), 73)
Ejemplo n.º 3
0
 def setUp(self):
     # We do most tests against single worker doc
     self.status = parse(document_single_worker)
Ejemplo n.º 4
0
 def setUp(self):
     # We do most tests against single worker doc
     self.status = parse(document_single_worker)