Browse Source

🔇 Remove debugging prints

pull/11/head
Sebastián Ramírez 6 years ago
parent
commit
b38fb937b0
  1. 1
      tests/test_tutorial/test_body_multiple_params/test_tutorial001.py
  2. 4
      tests/test_tutorial/test_body_schema/test_tutorial001.py
  3. 4
      tests/test_tutorial/test_header_params/test_tutorial001.py

1
tests/test_tutorial/test_body_multiple_params/test_tutorial001.py

@ -143,6 +143,5 @@ item_id_not_int = {
)
def test_post_body(path, body, expected_status, expected_response):
response = client.put(path, json=body)
print(response.text)
assert response.status_code == expected_status
assert response.json() == expected_response

4
tests/test_tutorial/test_body_schema/test_tutorial001.py

@ -1,5 +1,3 @@
import sys
import pytest
from starlette.testclient import TestClient
@ -8,8 +6,6 @@ from body_schema.tutorial001 import app
client = TestClient(app)
print(sys.path)
openapi_schema = {
"openapi": "3.0.2",
"info": {"title": "Fast API", "version": "0.1.0"},

4
tests/test_tutorial/test_header_params/test_tutorial001.py

@ -1,5 +1,3 @@
import sys
import pytest
from starlette.testclient import TestClient
@ -8,8 +6,6 @@ from header_params.tutorial001 import app
client = TestClient(app)
print(sys.path)
openapi_schema = {
"openapi": "3.0.2",
"info": {"title": "Fast API", "version": "0.1.0"},

Loading…
Cancel
Save