def test_format_entry_colors(entry, color): s = _format_entry(0, entry) assert s.startswith(color) assert s.endswith(ENDC)
def test_format_entry_colors(entry, color): s = _format_entry(entry) assert s.startswith(color) assert s.endswith(ENDC)
def test_format_entry(entry, expected): assert _format_entry(0, entry) == expected
def test_format_entry(entry, expected): assert _format_entry(entry) == expected