From b8cad678b176517067dc5646adcd02d9fc7f53d0 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 8 Feb 2026 07:48:41 -0600 Subject: [PATCH] URL-encode whitespace in empty file name test parameter Replace raw spaces with %20%20 to avoid flakiness from HTTP clients handling unencoded spaces differently. --- tests/dashboard/test_web_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/dashboard/test_web_server.py b/tests/dashboard/test_web_server.py index 2924e09f77..274cda3636 100644 --- a/tests/dashboard/test_web_server.py +++ b/tests/dashboard/test_web_server.py @@ -616,7 +616,7 @@ async def test_download_binary_handler_no_firmware_bin_path( @pytest.mark.asyncio @pytest.mark.usefixtures("mock_ext_storage_path") -@pytest.mark.parametrize("file_value", ["", " ", "%20"]) +@pytest.mark.parametrize("file_value", ["", "%20%20", "%20"]) async def test_download_binary_handler_empty_file_name( dashboard: DashboardTestHelper, mock_storage_json: MagicMock,