Money, Rate, CentCount and a bunch of bugfixes.
[python_utils.git] / tests / ansi_test.py
diff --git a/tests/ansi_test.py b/tests/ansi_test.py
new file mode 100755 (executable)
index 0000000..4c1f449
--- /dev/null
@@ -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()