def METHOD_NAME(self):
    best_orders = {
        0: ['node0'],
        1: ['node1', 'node2', 'node3'],
        2: ['node5', 'node4', 'node6', 'node7', 'node8']
    }
    self.assertEqual(order.ordering(self.pipeline, self.ranks), best_orders)