]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
:mute: Remove debugging prints
authorSebastián Ramírez <tiangolo@gmail.com>
Sat, 22 Dec 2018 04:21:02 +0000 (08:21 +0400)
committerSebastián Ramírez <tiangolo@gmail.com>
Sat, 22 Dec 2018 04:21:02 +0000 (08:21 +0400)
tests/test_tutorial/test_body_multiple_params/test_tutorial001.py
tests/test_tutorial/test_body_schema/test_tutorial001.py
tests/test_tutorial/test_header_params/test_tutorial001.py

index 6f2aa94a4c51af0e720a7a0dbd963ea7b3a110e5..8a2b1da7fd6d7c047666018ff7c1652f815e090a 100644 (file)
@@ -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
index 6ab0ab566e6001d174726c84b14d01036df383bf..58b5f891d24a7a081b23fc47416c2503a0169787 100644 (file)
@@ -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"},
index 4bb61511787c10dff1ec9d899df66b4b13c716fa..28cafd63d3931fdb0474a146aef6b716a5660447 100644 (file)
@@ -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"},