File: test_exports.py

package info (click to toggle)
python-colorlog 6.10.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 232 kB
  • sloc: python: 721; makefile: 5
file content (21 lines) | stat: -rw-r--r-- 412 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
"""Test that `from colorlog import *` works correctly."""

from colorlog import *  # noqa


def test_exports():
    assert {
        "ColoredFormatter",
        "default_log_colors",
        "basicConfig",
        "root",
        "getLogger",
        "debug",
        "info",
        "warning",
        "error",
        "exception",
        "critical",
        "log",
        "exception",
    } < set(globals())