Skip to content

Commit

Permalink
update tolerance on test
Browse files Browse the repository at this point in the history
  • Loading branch information
zolanaj committed May 7, 2024
1 parent 4507f18 commit ed32573
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion reoptjl/test/test_job_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,8 @@ def test_superset_input_fields(self):
resp = self.api_client.get(f'/v3/job/{run_uuid}/results')
r = json.loads(resp.content)
results = r["outputs"]
self.assertAlmostEqual(results["Financial"]["npv"], -258533.19, places=-3)
print(r["Messages"])
self.assertAlmostEqual(results["Financial"]["npv"], -258533.19, delta=0.01*results["Financiel"]["lcc"])
assert(resp.status_code==200)

def test_steamturbine_defaults_from_julia(self):
Expand Down

0 comments on commit ed32573

Please sign in to comment.