Browse Source

🎨 Make test endpoint names unique

pull/10353/head
Alexander Pushkov 2 years ago
committed by Alexander Pushkov
parent
commit
9a192e565a
  1. 4
      tests/test_dependency_contextmanager.py

4
tests/test_dependency_contextmanager.py

@ -111,12 +111,12 @@ async def get_sync(state: str = Depends(generator_state)):
@app.get("/async_ctxmgr") @app.get("/async_ctxmgr")
async def get_async(state: str = Depends(asyncgen_state_ctxmgr)): async def get_async_ctxmgr(state: str = Depends(asyncgen_state_ctxmgr)):
return state return state
@app.get("/sync_ctxmgr") @app.get("/sync_ctxmgr")
async def get_sync(state: str = Depends(generator_state_ctxmgr)): async def get_sync_ctxmgr(state: str = Depends(generator_state_ctxmgr)):
return state return state

Loading…
Cancel
Save