From a4407ed124d974ae37d9d490cfbdb294d962d502 Mon Sep 17 00:00:00 2001 From: Roland Date: Sun, 4 Oct 2026 11:13:03 -0600 Subject: [PATCH] tests: observe the modeling flag in the cancelled refresh_sync test Co-Authored-By: Claude Opus 5.5 --- wrolpi/files/test/test_worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrolpi/files/test/test_worker.py b/wrolpi/files/test/test_worker.py index 7bd01fbc..8ef1ae08 100644 --- a/wrolpi/files/test/test_worker.py +++ b/wrolpi/files/test/test_worker.py @@ -640,7 +640,7 @@ async def test_refresh_sync_records_error_status_on_failure(async_client, test_s @pytest.mark.asyncio async def test_refresh_sync_resets_status_when_cancelled(async_client, test_session, test_directory, - make_files_structure): + make_files_structure, flags_lock): """A cancelled synchronous refresh must not strand the status at its last phase. `refresh_sync` runs inside request handlers, which Sanic cancels on response timeout. The