Merge "Add test perttern for cliutils.make_table_header"

This commit is contained in:
Jenkins 2015-09-22 10:43:06 +00:00 committed by Gerrit Code Review
commit 4dd88a186a

View File

@ -88,6 +88,9 @@ class CliUtilsTestCase(test.TestCase):
)
self.assertEqual(expected, actual)
self.assertRaises(ValueError, cliutils.make_table_header,
"Response Times (sec)", len("Response Times (sec)"))
def test_pretty_float_formatter_rounding(self):
test_table_rows = {"test_header": 6.56565}
self.__dict__.update(**test_table_rows)