diff --git a/tests/docker/test_pool_recycle_config.py b/tests/docker/test_pool_recycle_config.py index c89f48273..f1532bf13 100644 --- a/tests/docker/test_pool_recycle_config.py +++ b/tests/docker/test_pool_recycle_config.py @@ -14,14 +14,14 @@ import pytest import yaml -from crawl4ai import BrowserConfig - ROOT = Path(__file__).resolve().parents[2] DOCKER_DIR = ROOT / "deploy" / "docker" sys.path.insert(0, str(DOCKER_DIR)) pool = pytest.importorskip("crawler_pool", reason="docker server deps not installed") +from crawl4ai import BrowserConfig # noqa: E402 (after importorskip so missing deps skip) + def test_config_enables_recycling(): cfg = yaml.safe_load((DOCKER_DIR / "config.yml").read_text())