summaryrefslogtreecommitdiff
path: root/tests/test_imports.py
blob: 4b07ce6928a12d2fd64838831240f733744451f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
def test_importability():
    from ansicolor import black  # noqa
    from ansicolor import blue  # noqa
    from ansicolor import cyan  # noqa
    from ansicolor import green  # noqa
    from ansicolor import magenta  # noqa
    from ansicolor import red  # noqa
    from ansicolor import white  # noqa
    from ansicolor import yellow  # noqa

    from ansicolor import Colors  # noqa

    Colors.Black
    Colors.Blue
    Colors.Cyan
    Colors.Green
    Colors.Magenta
    Colors.Red
    Colors.White
    Colors.Yellow

    from ansicolor import get_highlighter  # noqa
    from ansicolor import get_code  # noqa

    from ansicolor import colorize  # noqa
    from ansicolor import wrap_string  # noqa
    from ansicolor import highlight_string  # noqa
    from ansicolor import colordiff  # noqa
    from ansicolor import justify_formatted  # noqa
    from ansicolor import strip_escapes  # noqa
    from ansicolor import set_term_title  # noqa

    from ansicolor import write_err  # noqa
    from ansicolor import write_out  # noqa