예제 #1
0
def test_format_entry_colors(entry, color):
    s = _format_entry(0, entry)
    assert s.startswith(color)
    assert s.endswith(ENDC)
예제 #2
0
def test_format_entry_colors(entry, color):
    s = _format_entry(entry)
    assert s.startswith(color)
    assert s.endswith(ENDC)
예제 #3
0
def test_format_entry(entry, expected):
    assert _format_entry(0, entry) == expected
예제 #4
0
def test_format_entry(entry, expected):
    assert _format_entry(entry) == expected