Skip to content

The open-source AI voice studio. Clone, dictate, create.

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

jamiepine8e0060cccf67
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")