def test_stats_table_change_sep(self): sep = "+" reporter = StreamReporter(colorized=False) actual_table = reporter.stats_table(expected_table_stats, sep=sep) expected = expected_table.replace("|", sep) self.assertEqual(actual_table.strip(), expected.strip())
def test_stats_table(self): reporter = StreamReporter(colorized=False) actual_table = reporter.stats_table(expected_table_stats) self.assertEqual(actual_table.strip(), expected_table.strip())