summaryrefslogtreecommitdiff
path: root/tests/test_imports.py
blob: ed5f6546843e4d5b47d5903a718b2a1a5c1b948b (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
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