update testfile

Signed-off-by: Jan Vollmer <jan@vllmr.dev>
This commit is contained in:
Jan Vollmer 2025-12-18 21:14:29 +01:00
parent 46932ae5ae
commit 78a48a82ae
No known key found for this signature in database
GPG Key ID: 19473D3A5AB433DA
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
from itertools import chain
from typing import List, Optional
from typing import Optional
from fastapi import APIRouter, Depends, FastAPI
from fastapi.routing import APIRoute
@ -28,7 +28,7 @@ def check_if_initialized(route: APIRoute, should_not: bool = False):
def create_test_router(
routes: Optional[List[BaseRoute]] = None, defer_init: bool = True
routes: Optional[list[BaseRoute]] = None, defer_init: bool = True
):
router = APIRouter(routes=routes or [], defer_init=defer_init)