pre-commit-ci-lite[bot]
5 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
2 deletions
-
tests/test_router_mount.py
|
|
|
@ -1,4 +1,4 @@ |
|
|
|
from fastapi import FastAPI, APIRouter |
|
|
|
from fastapi import APIRouter, FastAPI |
|
|
|
from fastapi.testclient import TestClient |
|
|
|
|
|
|
|
|
|
|
|
@ -22,4 +22,4 @@ def test_mount_on_router(): |
|
|
|
client = TestClient(app) |
|
|
|
|
|
|
|
assert client.get("/api/app").status_code == 200 |
|
|
|
assert client.get("/api/subapi/sub").status_code == 200 |
|
|
|
assert client.get("/api/subapi/sub").status_code == 200 |
|
|
|
|