Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit c624d7a

Browse files
committed
Add print to http
1 parent dfa8f6a commit c624d7a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/http/tests.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ def make_request(method, path, headers=None, data=None):
55
headerstr = "-h {}" if headers is None else f" -h {headers}"
66
datastr = "" if data is None else f" -d {data}"
77
response_string = os.popen(f"sh run.sh -m {method} -u http://localhost:8080{path} {headerstr} {datastr}").read()
8+
print(response_string)
89
return json.loads(response_string) # JSON con campos status, body y headers
910

1011
# Almacena los resultados de las pruebas

0 commit comments

Comments
 (0)