Files

33 lines
762 B
Markdown

# Base HTTP Template - Python Eval
## Test Summary
| Test | Status | Notes |
|------|--------|-------|
| Code Syntax | ✅ PASS | AST parse successful |
| Function Routes | ✅ PASS | /api/hello, /api/health defined |
| v2 Model | ✅ PASS | Uses `func.FunctionApp()` decorator model |
| Health Endpoint | ✅ PASS | Anonymous auth, JSON response |
## Code Validation
```python
# Validated syntax and structure
import ast
with open('function_app.py') as f:
ast.parse(f.read())
# ✅ Code syntax valid
```
## Test Date
2025-02-18
## Template Source
Generated from `functions_template_get(language: "python", template: "http-trigger-python-azd")` MCP tool output
## Verdict
**PASS** - Base HTTP template code validates correctly for Python v2 model.