From f086eba111650c0176de95b0bb34660a1ca41eb5 Mon Sep 17 00:00:00 2001 From: oib Date: Mon, 2 Mar 2026 21:56:15 +0100 Subject: [PATCH] fix(pytest): remove pytest section header and configure cache directory to dev/cache/ - Remove [pytest] section header from pytest.ini configuration file - Add cache_dir setting to store pytest cache in dev/cache/.pytest_cache instead of project root - Prevent .pytest_cache directory creation at root level --- pytest.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pytest.ini b/pytest.ini index 0bf9d5a6..369a93b7 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,4 +1,3 @@ -[pytest] # pytest configuration for AITBC # Test discovery @@ -6,6 +5,9 @@ python_files = test_*.py *_test.py python_classes = Test* python_functions = test_* +# Cache directory - prevent root level cache +cache_dir = dev/cache/.pytest_cache + # Custom markers markers = unit: Unit tests (fast, isolated)