Skip to content

Commit

Permalink
WIP7
Browse files Browse the repository at this point in the history
  • Loading branch information
MoessnerFabian(Group) committed Jan 29, 2025
1 parent f8ed907 commit 32146ba
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/unit/util/test_ansi_code.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
from logprep.util.ansi import Fore, Back

class TestAnsiCodes:
def test_basic_color_codes(self):
assert Fore.BLACK == '\033[30m'
assert Fore.RED == '\033[31m'
assert Fore.GREEN == '\033[32m'
assert Fore.YELLOW == '\033[33m'
assert Fore.BLUE == '\033[34m'
assert Fore.MAGENTA == '\033[35m'
assert Fore.CYAN == '\033[36m'
assert Fore.WHITE == '\033[37m'
assert Fore.RESET == '\033[39m'
assert Back.RESET == '\033[49m'

0 comments on commit 32146ba

Please sign in to comment.