test(profiles): reword the locked-file test docstring to the guarantee it checks

This commit is contained in:
jamiepine
2026-10-04 00:19:41 +00:00
committed by capy-ai-staging[bot]
parent f0f3802b79
commit 8e0060cccf
+1 -1
View File
@@ -199,7 +199,7 @@ async def test_delete_profile_survives_unremovable_version_audio(db, monkeypatch
@pytest.mark.asyncio @pytest.mark.asyncio
async def test_one_locked_file_does_not_strand_the_rest(db, monkeypatch): async def test_one_locked_file_does_not_strand_the_rest(db, monkeypatch):
"""The sweep commits per generation, so aborting mid-loop half-deletes.""" """One locked file must not leave the other generations' rows behind."""
_make_profile(db) _make_profile(db)
for i in range(3): for i in range(3):
_, gen_stored = _write_wav(f"gen{i}.wav") _, gen_stored = _write_wav(f"gen{i}.wav")