mirror of https://github.com/tiangolo/fastapi.git
lint updated
This commit is contained in:
parent
3c1d6ebf9f
commit
dcfc53763f
|
|
@ -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…
Reference in New Issue