This commit is contained in:
Maxim Devaev 2022-03-26 02:25:17 +03:00
parent 3c609e6fe0
commit 6922f70dcd

View File

@ -29,7 +29,7 @@ from kvmd.logging import get_logger
@pytest.mark.parametrize("depth, name", [
(0, "tests.test_logging"),
(1, "_pytest.python"),
(2, "pluggy.callers"),
(2, "pluggy._callers"),
])
def test_ok__get_logger(depth: int, name: str) -> None:
assert get_logger(depth).name == name