feat: add 15 auto-test functions + destroy-test + versioning rules
Batch 1: ok, echo, error, cpu, slow Batch 2: jsonout, recurse, bigdata, math, timestamp Batch 3: multiline, encoding, nested, memory, chain Tests: create, update (code_hash), idempotency, destroy, re-create All 15 functions verified via curl with JWT auth
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import json
|
||||
|
||||
def main():
|
||||
data = {
|
||||
"status": "ok",
|
||||
"items": [{"id": i, "value": i * i} for i in range(10)],
|
||||
"count": 10
|
||||
}
|
||||
return json.dumps(data)
|
||||
Reference in New Issue
Block a user