From 2eb6e920cfb894cc1dc4ea89f309d8d005f66204 Mon Sep 17 00:00:00 2001 From: Gyeongjae Choi Date: Mon, 30 Mar 2026 17:13:52 +0900 Subject: [PATCH] chore: fix workerd test to put the python_modules in the correct directory --- packages/cli/tests/test_in_workerd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/tests/test_in_workerd.py b/packages/cli/tests/test_in_workerd.py index f8817aa..98bf92d 100644 --- a/packages/cli/tests/test_in_workerd.py +++ b/packages/cli/tests/test_in_workerd.py @@ -59,7 +59,7 @@ def test_in_workerd(tmp_path, test_dir, wd_test_file, pytestconfig): # https://github.com/cloudflare/workers-py/pull/81 is merged shutil.copytree(WORKERS_RUNTIME_SDK, target / "python_modules", dirs_exist_ok=True) - modules = embed(target / "python_modules", target) + embed( + modules = embed(target / "python_modules", target, level=1) + embed( target / "tests", target, level=1 )