File
Blob: src/workerd/server/tests/python/env-param/env.wd-test
| 1 | using Workerd = import "/workerd/workerd.capnp"; |
| 2 | |
| 3 | const unitTests :Workerd.Config = ( |
| 4 | services = [ |
| 5 | ( name = "python-hello", |
| 6 | worker = ( |
| 7 | modules = [ |
| 8 | (name = "worker.py", pythonModule = embed "worker.py") |
| 9 | ], |
| 10 | bindings = [ |
| 11 | ( |
| 12 | name = "secret", |
| 13 | text = "thisisasecret" |
| 14 | ), |
| 15 | ], |
| 16 | compatibilityFlags = [%PYTHON_FEATURE_FLAGS, "disable_python_no_global_handlers"], |
| 17 | ) |
| 18 | ), |
| 19 | ], |
| 20 | ); |