You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tests/conftest.pypytest_configure deletes both the Google Sheet CSV cache files and their .lock siblings at the start of each run. The lock-path bug (.csv.lock vs .lock) was fixed in PR #67, but there is no regression test covering this cleanup path.
What's missing
A unit/integration test that:
Creates a fake babel_validation_gsheet_<hash>.csv and its companion babel_validation_gsheet_<hash>.lock in tempfile.gettempdir().
Invokes the pytest_configure cleanup logic.
Asserts that both files are removed and that no .csv.lock stale file remains.
Without this test, a future refactor could silently reintroduce the same bug.
Background
tests/conftest.pypytest_configuredeletes both the Google Sheet CSV cache files and their.locksiblings at the start of each run. The lock-path bug (.csv.lockvs.lock) was fixed in PR #67, but there is no regression test covering this cleanup path.What's missing
A unit/integration test that:
babel_validation_gsheet_<hash>.csvand its companionbabel_validation_gsheet_<hash>.lockintempfile.gettempdir().pytest_configurecleanup logic..csv.lockstale file remains.Without this test, a future refactor could silently reintroduce the same bug.
Notes
tests/conftest.py::pytest_configure(lines 35–50).