Browse Source

added test cases for invalid responses

pull/14679/head
ManasKarthik28 6 months ago
parent
commit
9cfcaa2771
  1. 2
      tests/test_validate_response.py

2
tests/test_validate_response.py

@ -58,7 +58,7 @@ def get_invalidtype():
@app.get("/items/invalidtuple", response_model=Item)
def get_invalid_typle():
def get_invalid_tuple():
return {"name":"invalid", "price":(2.5,3.5)}

Loading…
Cancel
Save