Merge "Change assertTrue to assertEqual"

This commit is contained in:
Jenkins 2016-07-19 15:18:12 +00:00 committed by Gerrit Code Review
commit d731a4d031

View File

@ -1783,7 +1783,7 @@ class TestCommands(unittest.TestCase, RunSwiftRingBuilderMixin):
self.assertEqual(ring.min_part_seconds_left, 0)
self.assertSystemExit(EXIT_WARNING, ringbuilder.main, argv)
ring = RingBuilder.load(self.tmpfile)
self.assertTrue(ring.min_part_seconds_left, 3600)
self.assertEqual(ring.min_part_seconds_left, 3600)
def test_rebalance_failure_does_not_reset_last_moves_epoch(self):
ring = RingBuilder(8, 3, 1)