mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 17:20:30 +08:00
test fix
This commit is contained in:
parent
3c609e6fe0
commit
6922f70dcd
@ -29,7 +29,7 @@ from kvmd.logging import get_logger
|
|||||||
@pytest.mark.parametrize("depth, name", [
|
@pytest.mark.parametrize("depth, name", [
|
||||||
(0, "tests.test_logging"),
|
(0, "tests.test_logging"),
|
||||||
(1, "_pytest.python"),
|
(1, "_pytest.python"),
|
||||||
(2, "pluggy.callers"),
|
(2, "pluggy._callers"),
|
||||||
])
|
])
|
||||||
def test_ok__get_logger(depth: int, name: str) -> None:
|
def test_ok__get_logger(depth: int, name: str) -> None:
|
||||||
assert get_logger(depth).name == name
|
assert get_logger(depth).name == name
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user