Improve test coverage from 63.6% to 73.4% and fix test infrastructure (#137)

This commit is contained in:
Alexander Whitestone
2026-03-06 13:21:05 -05:00
committed by GitHub
parent 23f744f296
commit 3f06e7231d
17 changed files with 2312 additions and 16 deletions

View File

@@ -9,6 +9,11 @@ TEST_PROJECT_DIR = Path("/home/ubuntu/test-sovereign-stack")
TEST_VAULT_DIR = TEST_PROJECT_DIR / "TimmyVault"
SETUP_SCRIPT_PATH = Path("/home/ubuntu/setup_timmy.sh")
pytestmark = pytest.mark.skipif(
not SETUP_SCRIPT_PATH.exists(),
reason=f"Setup script not found at {SETUP_SCRIPT_PATH}",
)
@pytest.fixture(scope="module", autouse=True)
def cleanup_test_env():
"""Ensure a clean environment before and after tests."""