We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0a4647 commit f32fae1Copy full SHA for f32fae1
tests/unit/conftest.py
@@ -25,7 +25,7 @@
25
26
27
@pytest.fixture
28
-def patch_propagate_logger(monkeypatch: pytest.MonkeyPatch) -> Iterator[None]:
+def _patch_propagate_logger(monkeypatch: pytest.MonkeyPatch) -> Iterator[None]:
29
"""Patch enabling `propagate` for the crawlee logger.
30
31
This is necessary for tests requiring log interception using `caplog`.
@@ -89,7 +89,7 @@ def _prepare_test_env() -> None:
89
@pytest.fixture(autouse=True)
90
def _isolate_test_environment(
91
prepare_test_env: Callable[[], None],
92
- patch_propagate_logger: None, # noqa: ARG001
+ _patch_propagate_logger: None,
93
) -> None:
94
"""Isolate the testing environment by resetting global state before and after each test.
95
0 commit comments