test: cover python source loader edge cases

This commit is contained in:
lda
2026-06-11 19:04:01 +07:00 Verified
parent 7735d2012e
commit 59fcc38a96
2 changed files with 40 additions and 0 deletions
+7
View File
@@ -24,3 +24,10 @@ def upper(payload: EchoInput) -> EchoOutput:
registry = [echo, upper]
def callable_registry():
return {"echo": echo, "upper": upper}
duplicate_registry = [echo, echo]