Repository navigation
Conversation
…nds (infiniflow#20367)" This reverts commit fc578ea. The MQ LIST PENDING form is needed again. Note that restoring the CLI plumbing alone does not make it filter: the admin handler and the NATS engine still ignore the pending flag.
Port test/testcases/restful_api/test_langfuse_routes.py to test/api using the shared restCall / restCode / restResult helpers. - TestLangfuseAPIKeyRoutesRequireAuth: GET/POST/PUT/DELETE without a token answer HTTP 401 / code 401 / "Missing Authorization header" - TestLangfuseAPIKeyMissingRequiredFields: POST with an empty secret_key answers HTTP 200 / code 102 / "missing required fields" The Python test is kept until the restful suite is migrated as a whole.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
PR Summary
What
Port test/testcases/restful_api/test_langfuse_routes.py into test/api/langfuse_routes_api_test.go
Changes
restCall with an unauthenticated *TestConfig copy (APIKey cleared) and
asserts HTTP 401 / code 401 / "Missing Authorization header". POST and PUT
carry a full body, so the test also locks auth-before-binding.
asserts HTTP 200 / code 102 / "missing required fields" via
requireLangfuseMissingFields.