Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 4 additions & 13 deletions src/workerd/server/tests/python/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ load("//src/workerd/server/tests/python:py_wd_test.bzl", "py_wd_test", "python_t

python_test_setup()

# Each test takes a while to start up, so if possible add additional tests to many-tests or sdk or
# some other existing test.
py_wd_test("hello")

py_wd_test("env-param")
py_wd_test("many-tests")

py_wd_test(
"top-level-env",
skip_python_flags = ["0.26.0a2"],
)
py_wd_test("env-param")

py_wd_test("asgi")

Expand All @@ -22,8 +21,6 @@ py_wd_test("subdirectory")

py_wd_test("sdk")

py_wd_test("seek-metadatafs")

gen_rust_import_tests()

py_wd_test("undefined-handler")
Expand All @@ -50,18 +47,12 @@ py_wd_test(
skip_python_flags = ["0.26.0a2"],
)

py_wd_test("js-import")

py_wd_test("importable-env")

py_wd_test("python-rpc")

py_wd_test("workflow-entrypoint")

py_wd_test("vendor_dir_compat_flag")

py_wd_test("multiprocessing")

py_wd_test("default-class-with-legacy-global-handlers")

py_wd_test(
Expand Down
112 changes: 0 additions & 112 deletions src/workerd/server/tests/python/importable-env/worker.py

This file was deleted.

18 changes: 0 additions & 18 deletions src/workerd/server/tests/python/js-import/js-import.wd-test

This file was deleted.

23 changes: 0 additions & 23 deletions src/workerd/server/tests/python/js-import/worker.py

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,23 @@ using Workerd = import "/workerd/workerd.capnp";

const unitTests :Workerd.Config = (
services = [
( name = "importable-env-test",
( name = "python-hello",
worker = (
modules = [
(name = "worker.py", pythonModule = embed "worker.py"),
(name = "worker.py", pythonModule = embed "worker.py")
],
compatibilityFlags = [
%PYTHON_FEATURE_FLAGS,
"disable_python_no_global_handlers",
"python_no_global_handlers",
"unwrap_custom_thenables"
],
bindings = [
(
name = "secret",
text = "thisisasecret"
),
(name = "FOO", text = "BAR"),
(name = "TEST_VALUE", text = "TEST_STRING"),
(name = "CACHE", memoryCache = (
id = "abc123",
limits = (
Expand Down
Loading
Loading