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

@@ -10,6 +10,11 @@ PROD_PROJECT_DIR = Path("/home/ubuntu/prod-sovereign-stack")
PROD_VAULT_DIR = PROD_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 setup_prod_env():
"""Ensure a clean environment and run the full installation."""