From 4c36abb52582dd614309d7e507e24ad2e83faf62 Mon Sep 17 00:00:00 2001 From: Karolis Strazdas Date: Sun, 1 Nov 2026 15:08:15 +0200 Subject: [PATCH] style: separate multiline sandbox test call from assertions --- tests/api/routes/test_powersync_sandbox.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/api/routes/test_powersync_sandbox.py b/tests/api/routes/test_powersync_sandbox.py index d7088a7..134a3e2 100644 --- a/tests/api/routes/test_powersync_sandbox.py +++ b/tests/api/routes/test_powersync_sandbox.py @@ -130,9 +130,11 @@ async def test_powersync_sandbox_worker_asset_is_served_from_backend_origin( assert response.headers["content-type"].startswith("text/javascript") assert response.headers["x-papyrus-vendor-path"] == "WASQLiteDB.umd.js" assert response.text == "// worker/WASQLiteDB.umd.js" + nested_response = await public_debug_client.get( "/__dev/powersync-sandbox/worker/node_modules_pnpm_example_chunk.umd.js" ) + assert nested_response.status_code == 200 assert nested_response.headers["x-papyrus-vendor-path"] == "node_modules_pnpm_example_chunk.umd.js" assert nested_response.text == "// worker/node_modules_pnpm_example_chunk.umd.js"