From 89888a5e519fbd8bd7054a00d8df2ef01a4cefaf Mon Sep 17 00:00:00 2001 From: cfdaily Date: Mon, 8 Jun 2026 23:38:59 +0800 Subject: [PATCH] auto-sync: 2026-06-08 23:38:59 (catch-all) --- pyproject.toml | 2 +- tests/conftest.py | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 47b40c4..34e4063 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ markers = [ "integration: integration tests (requires RUN_INTEGRATION=1)", "e2e: end-to-end tests with real daemon + Agent (requires RUN_INTEGRATION=1)", ] -addopts = "-m not integration and not e2e" +# Default deselection of integration/e2e handled in conftest.py pytest_collection_modifyitems [tool.pyright] venvPath = "." diff --git a/tests/conftest.py b/tests/conftest.py index 1eca4f9..ba0bd54 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -21,10 +21,6 @@ def pytest_configure(config): for name, desc in markers.items(): config.addinivalue_line("markers", f"{name}: {desc}") - # When RUN_INTEGRATION=1, remove default marker filter so integration/e2e tests run - if os.environ.get("RUN_INTEGRATION"): - config.known_args_namespace.markexpr = "" - @pytest.fixture def isolated_data_root(tmp_path):