From e280cc41fff666dcbe102bfe61c6f076ccdf516b Mon Sep 17 00:00:00 2001 From: Jon Saad-Falcon Date: Fri, 6 Mar 2026 23:32:54 +0000 Subject: [PATCH] test: consolidate test files into subdirectories Move remaining top-level test files to appropriate subdirectories: - test_system.py -> tests/sdk/ - test_system_learning.py -> tests/learning/ - test_integration*.py -> tests/integration/ - test_docker.py -> tests/deployment/ - test_rust_bridge.py -> tests/core/ Fix ROOT path in test_docker.py for new directory depth. All 3772 tests pass, 57 skipped (optional deps). Co-Authored-By: Claude Opus 4.6 --- tests/{ => core}/test_rust_bridge.py | 0 tests/{ => deployment}/test_docker.py | 2 +- tests/{ => integration}/test_integration.py | 0 tests/{ => integration}/test_integration_extended.py | 0 tests/{ => learning}/test_system_learning.py | 0 tests/{ => sdk}/test_system.py | 0 6 files changed, 1 insertion(+), 1 deletion(-) rename tests/{ => core}/test_rust_bridge.py (100%) rename tests/{ => deployment}/test_docker.py (96%) rename tests/{ => integration}/test_integration.py (100%) rename tests/{ => integration}/test_integration_extended.py (100%) rename tests/{ => learning}/test_system_learning.py (100%) rename tests/{ => sdk}/test_system.py (100%) diff --git a/tests/test_rust_bridge.py b/tests/core/test_rust_bridge.py similarity index 100% rename from tests/test_rust_bridge.py rename to tests/core/test_rust_bridge.py diff --git a/tests/test_docker.py b/tests/deployment/test_docker.py similarity index 96% rename from tests/test_docker.py rename to tests/deployment/test_docker.py index 703f7031..ccc3c96f 100644 --- a/tests/test_docker.py +++ b/tests/deployment/test_docker.py @@ -4,7 +4,7 @@ from __future__ import annotations from pathlib import Path -ROOT = Path(__file__).resolve().parent.parent +ROOT = Path(__file__).resolve().parent.parent.parent DOCKER_DIR = ROOT / "deploy" / "docker" diff --git a/tests/test_integration.py b/tests/integration/test_integration.py similarity index 100% rename from tests/test_integration.py rename to tests/integration/test_integration.py diff --git a/tests/test_integration_extended.py b/tests/integration/test_integration_extended.py similarity index 100% rename from tests/test_integration_extended.py rename to tests/integration/test_integration_extended.py diff --git a/tests/test_system_learning.py b/tests/learning/test_system_learning.py similarity index 100% rename from tests/test_system_learning.py rename to tests/learning/test_system_learning.py diff --git a/tests/test_system.py b/tests/sdk/test_system.py similarity index 100% rename from tests/test_system.py rename to tests/sdk/test_system.py