def test_colorize_support(self, _): for color in self.colors: expected = color + self.text + Colors.ENDC actual = colorize(self.text, color) self.assertEqual(actual, expected)
def test_colorize_no_support(self, _): for color in self.colors: expected = self.text actual = colorize(self.text, color) self.assertEqual(actual, expected)