Skip to content

Commit 402a2d3

Browse files
committed
test: document configure_app test
1 parent 52ed045 commit 402a2d3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_configure_app.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
"""Tests for configuring an external FastAPI application."""
2+
13
from fastapi import FastAPI
24
from fastapi.routing import APIRoute
35

@@ -6,6 +8,7 @@
68

79

810
def test_configure_app_excludes_proxy_route():
11+
"""Ensure `configure_app` adds health route and omits proxy route."""
912
app = FastAPI()
1013
settings = Settings(
1114
upstream_url="https://example.com",

0 commit comments

Comments
 (0)