Browse Source

Refactor route handlers to be asynchronous and prevent coverage issues

pull/14463/head
DJ Melisso 7 months ago
parent
commit
1183114f3a
  1. 8
      tests/test_additional_responses_union_duplicate_anyof.py

8
tests/test_additional_responses_union_duplicate_anyof.py

@ -30,13 +30,13 @@ app = FastAPI(
@app.get("/route1")
def route1():
return "test"
async def route1():
pass # pragma: no cover
@app.get("/route2")
def route2():
return "test"
async def route2():
pass # pragma: no cover
client = TestClient(app)

Loading…
Cancel
Save