Commit 4d84612a authored by Daniele Venzano's avatar Daniele Venzano

More verbose testing

parent 39437a3c
......@@ -83,6 +83,8 @@ class TestZoeRest:
data = json.loads(data_file.read())
req = requests.post(ZOE_API_URI + 'zapp_validate', json={"application": data}, timeout=TIMEOUT)
if req.status_code != 200:
print('Error reason: {}'.format(req.reason))
assert req.status_code == 200
def test_zapp_validate_fail(self, zoe_api_process):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment