(self)
| 64 | class RoundRobinPolicyTest(unittest.TestCase): |
| 65 | |
| 66 | def test_basic(self): |
| 67 | hosts = [0, 1, 2, 3] |
| 68 | policy = RoundRobinPolicy() |
| 69 | policy.populate(None, hosts) |
| 70 | qplan = list(policy.make_query_plan()) |
| 71 | self.assertEqual(sorted(qplan), hosts) |
| 72 | |
| 73 | def test_multiple_query_plans(self): |
| 74 | hosts = [0, 1, 2, 3] |
nothing calls this directly
no test coverage detected