Browse Source

🎨 Auto format

pull/15014/head
pre-commit-ci-lite[bot] 5 months ago
committed by GitHub
parent
commit
5c408b7409
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      tests/test_mount_sub_app_router.py

4
tests/test_mount_sub_app_router.py

@ -52,7 +52,5 @@ def test_mount_preserved_in_routes():
app = FastAPI() app = FastAPI()
app.include_router(router) app.include_router(router)
mount_routes = [ mount_routes = [r for r in app.routes if isinstance(r, Mount) and "/sub" in r.path]
r for r in app.routes if isinstance(r, Mount) and "/sub" in r.path
]
assert len(mount_routes) == 1 assert len(mount_routes) == 1

Loading…
Cancel
Save