Commit 199eacd9 authored by Sebastian Miller's avatar Sebastian Miller
Browse files

fixed requests test

parent 72948d57
......@@ -182,7 +182,7 @@ class TestRequests:
metric = random.choice([METRIC1, METRIC2])
r = self.post_request(metric, singleNaN = True) # single NaN value in forecaster predictions
print(i, r.json())
assert r.status_code == NO_MODEL_CODE
assert r.status_code == RESPONSE_CODE
for i in range (100):
metric = random.choice([METRIC1, METRIC2])
r = self.post_request(metric, wrong = True) # inexistent forecaster name
......
Supports Markdown
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