Merge "suppress warning output in a unit test"

This commit is contained in:
Jenkins 2015-11-11 04:28:21 +00:00 committed by Gerrit Code Review
commit f20346d96e

View File

@ -1796,7 +1796,7 @@ class TestCommands(unittest.TestCase, RunSwiftRingBuilderMixin):
os.path.basename(self.tmpfile) + ".ring.gz") os.path.basename(self.tmpfile) + ".ring.gz")
os.remove(self.tmpfile) # loses file... os.remove(self.tmpfile) # loses file...
argv = ["", backup_file, "write_builder"] argv = ["", backup_file, "write_builder", "24"]
self.assertEqual(ringbuilder.main(argv), None) self.assertEqual(ringbuilder.main(argv), None)
def test_warn_at_risk(self): def test_warn_at_risk(self):