✅ Test all HTTP methods

This commit is contained in:
Sebastián Ramírez committed 2018-12-22 18:18:19 +04:00
1 parent bf6d923ca8
commit 613c3f3e95
2 files changed
+284

No files matched your search

@@ -84,6 +84,12 @@ openapi_schema = {
}
def test_openapi_schema():
response = client.get("/openapi.json")
assert response.status_code == 200
assert response.json() == openapi_schema
@pytest.mark.parametrize(
"path,expected_status,expected_response",
[