using Workerd = import "/workerd/workerd.capnp"; const unitTests :Workerd.Config = ( services = [ ( name = "vendor_dir", worker = ( modules = [ (name = "worker.py", pythonModule = embed "worker.py"), (name = "duplicate.py", pythonModule = embed "vendor/a.py"), (name = "python_modules/a.py", pythonModule = embed "vendor/a.py"), # This module below is only here to verify that we don't crash because of # duplicate module names. (name = "python_modules/duplicate.py", pythonModule = embed "vendor/a.py"), # This module below exercises a bug which caused our internal introspection.py # module to import it instead of the SDK module. See EW-9317 for more info. (name = "workers.py", pythonModule = embed "vendor/a.py"), ], compatibilityFlags = [%PYTHON_FEATURE_FLAGS, "disable_python_no_global_handlers"], ) ), ], );