def test_get_status(): r = methods.request_get(variables.url + variables.status) assert r.status_code == variables.OK_status_code
def test_get_system_monitoring(): r = methods.request_get(variables.url + variables.system_monitoring) assert r.status_code == 200 print variables.st assert r.json()['timestamp'] == variables.st