summaryrefslogtreecommitdiff
path: root/tests/ansi_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ansi_test.py')
-rwxr-xr-xtests/ansi_test.py19
1 files changed, 19 insertions, 0 deletions
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()