mirror of https://github.com/tiangolo/fastapi.git
fix coverage
This commit is contained in:
parent
4f8d765e59
commit
a73499ecca
|
|
@ -13,7 +13,7 @@ class Items(BaseModel):
|
|||
|
||||
@app.post("/foo", responses={422: {}})
|
||||
def foo(items: Items):
|
||||
return items.items
|
||||
pass # pragma: no cover
|
||||
|
||||
|
||||
client = TestClient(app)
|
||||
|
|
|
|||
Loading…
Reference in New Issue