forked from Rockachopa/Timmy-time-dashboard
chore: resolve 15 low-hanging-fruit tech debt issues
This commit is contained in:
@@ -20,6 +20,9 @@ pytestmark = pytest.mark.skipif(
|
||||
@pytest.fixture(scope="module", autouse=True)
|
||||
def setup_prod_env():
|
||||
"""Ensure a clean environment and run the full installation."""
|
||||
if not SETUP_SCRIPT_PATH.exists():
|
||||
pytest.skip(f"Setup script not found at {SETUP_SCRIPT_PATH}")
|
||||
|
||||
if PROD_PROJECT_DIR.exists():
|
||||
shutil.rmtree(PROD_PROJECT_DIR)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user