From 44c118be3ec4b352406488f7978969105a76aaf5 Mon Sep 17 00:00:00 2001 From: Ambient Code Bot Date: Thu, 26 Mar 2026 19:06:05 +0000 Subject: [PATCH] Register pytest markers for unit and integration tests Add unit and integration markers to pyproject.toml to enable marker-based test selection (pytest -m unit) without warnings. Co-Authored-By: Claude Opus 4.6 --- pyproject.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 919c1f28..e1c758dd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,4 +29,8 @@ lint.ignore = ["E203","E501","UP006","UP007","UP035"] [tool.pytest.ini_options] testpaths = ["tests"] python_files = ["test_*.py"] -addopts = ["--tb=short", "-v"] \ No newline at end of file +addopts = ["--tb=short", "-v"] +markers = [ + "unit: Fast unit tests with no external dependencies (GPU, network, cluster)", + "integration: Tests requiring external resources (notebook execution, GPU, Docker)", +] \ No newline at end of file