Browse Source

lint updated

pull/13483/head
Purushot14 3 weeks ago
parent
commit
dcfc53763f
  1. 3
      tests/test_tutorial/test_custom_request_and_route/test_tutorial004.py

3
tests/test_tutorial/test_custom_request_and_route/test_tutorial004.py

@ -8,6 +8,7 @@ __author__ = "prakash"
__date__ = "12/03/25"
from fastapi.testclient import TestClient
from docs_src.custom_api_router.tutorial001 import app
client = TestClient(app)
@ -31,4 +32,4 @@ def test_route_name():
assert response.status_code == 200
response_json = response.json()
assert response_json["route_name"] == "Global.Model.Item.create-item"
assert response_json["router_class"] == "AppRouter"
assert response_json["router_class"] == "AppRouter"

Loading…
Cancel
Save