Skip to content

Commit

Permalink
sqme: app.state
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill888 committed Feb 17, 2025
1 parent fff84bb commit 0c31a11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/api/test_links.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ def tests_app_links(root_path):

app = FastAPI(root_path=root_path)
router = APIRouter()
app.state.router_prefix = router.prefix

@router.get("/search")
@router.post("/search")
Expand Down

0 comments on commit 0c31a11

Please sign in to comment.