From 4faa994d32223c8d560d9dad0ca90a3f7eb10d6a Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Wed, 28 Jul 2021 22:13:43 -0700 Subject: Money, Rate, CentCount and a bunch of bugfixes. --- tests/ansi_test.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 tests/ansi_test.py (limited to 'tests/ansi_test.py') diff --git a/tests/ansi_test.py b/tests/ansi_test.py new file mode 100755 index 0000000..4c1f449 --- /dev/null +++ b/tests/ansi_test.py @@ -0,0 +1,19 @@ +#!/usr/bin/env python3 + +import unittest + +import ansi +import unittest_utils as uu + + +class TestAnsi(unittest.TestCase): + + def test_colorizer(self): + with ansi.Colorizer() as c: + print("testing...") + print("Section:") + print(" This is some detail.") + + +if __name__ == '__main__': + unittest.main() -- cgit v1.3