Example #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)
Example #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)
Example #3
0
 def setUp(self):
     # We do most tests against single worker doc
     self.status = parse(document_single_worker)
Example #4
0
 def setUp(self):
     # We do most tests against single worker doc
     self.status = parse(document_single_worker)