From 8e0060cccf67cc8a6912f15d48cf878d0e163778 Mon Sep 17 00:00:00 2001 From: jamiepine <32987599+jamiepine@users.noreply.github.com> Date: Sat, 3 Oct 2026 09:36:31 +0000 Subject: [PATCH] test(profiles): reword the locked-file test docstring to the guarantee it checks --- backend/tests/test_profile_delete_cascade.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/tests/test_profile_delete_cascade.py b/backend/tests/test_profile_delete_cascade.py index 639e9ee6..8b1a0e03 100644 --- a/backend/tests/test_profile_delete_cascade.py +++ b/backend/tests/test_profile_delete_cascade.py @@ -199,7 +199,7 @@ async def test_delete_profile_survives_unremovable_version_audio(db, monkeypatch @pytest.mark.asyncio 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) for i in range(3): _, gen_stored = _write_wav(f"gen{i}.wav")