Tweak the test
This commit is contained in:
parent
8f6e41bb19
commit
d5611d03b9
3 changed files with 0 additions and 8 deletions
|
@ -4,9 +4,6 @@ import json
|
||||||
|
|
||||||
HOST = "http://localhost:5000"
|
HOST = "http://localhost:5000"
|
||||||
|
|
||||||
# Get root
|
|
||||||
assert 200 == requests.get(HOST + "/").status_code
|
|
||||||
|
|
||||||
# Get list of athletes as a json object
|
# Get list of athletes as a json object
|
||||||
get_root = requests.get(HOST + "/athlete").text
|
get_root = requests.get(HOST + "/athlete").text
|
||||||
if get_root != "[]\n":
|
if get_root != "[]\n":
|
||||||
|
|
|
@ -4,9 +4,6 @@ import json
|
||||||
|
|
||||||
HOST = "http://localhost:5000"
|
HOST = "http://localhost:5000"
|
||||||
|
|
||||||
# Get root
|
|
||||||
assert 200 == requests.get(HOST + "/").status_code
|
|
||||||
|
|
||||||
# Get list of medals as a json object
|
# Get list of medals as a json object
|
||||||
get_root = requests.get(HOST + "/medal").text
|
get_root = requests.get(HOST + "/medal").text
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,6 @@ import json
|
||||||
|
|
||||||
HOST = "http://localhost:5000"
|
HOST = "http://localhost:5000"
|
||||||
|
|
||||||
# Get root
|
|
||||||
assert 200 == requests.get(HOST + "/").status_code
|
|
||||||
|
|
||||||
# Get list of sports as a json object
|
# Get list of sports as a json object
|
||||||
get_root = requests.get(HOST + "/sport").text
|
get_root = requests.get(HOST + "/sport").text
|
||||||
|
|
Loading…
Reference in a new issue