forked from Rockachopa/Timmy-time-dashboard
Improve test coverage from 63.6% to 73.4% and fix test infrastructure (#137)
This commit is contained in:
committed by
GitHub
parent
23f744f296
commit
3f06e7231d
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user