4c1f4493fc83c101f2a9d9dbc5e281e0071dd51b
[python_utils.git] / tests / ansi_test.py
1 #!/usr/bin/env python3
2
3 import unittest
4
5 import ansi
6 import unittest_utils as uu
7
8
9 class TestAnsi(unittest.TestCase):
10
11     def test_colorizer(self):
12         with ansi.Colorizer() as c:
13             print("testing...")
14             print("Section:")
15             print("  This is some detail.")
16
17
18 if __name__ == '__main__':
19     unittest.main()