Tweak the test

This commit is contained in:
Léo 2024-03-27 17:39:34 +01:00
parent 8f6e41bb19
commit d5611d03b9
3 changed files with 0 additions and 8 deletions

View file

@ -4,9 +4,6 @@ import json
HOST = "http://localhost:5000"
# Get root
assert 200 == requests.get(HOST + "/").status_code
# Get list of athletes as a json object
get_root = requests.get(HOST + "/athlete").text
if get_root != "[]\n":

View file

@ -4,9 +4,6 @@ import json
HOST = "http://localhost:5000"
# Get root
assert 200 == requests.get(HOST + "/").status_code
# Get list of medals as a json object
get_root = requests.get(HOST + "/medal").text

View file

@ -4,8 +4,6 @@ import json
HOST = "http://localhost:5000"
# Get root
assert 200 == requests.get(HOST + "/").status_code
# Get list of sports as a json object
get_root = requests.get(HOST + "/sport").text