Skip to content

Commit

Permalink
ensure new techs are in the all_inputs_test response
Browse files Browse the repository at this point in the history
  • Loading branch information
zolanaj committed Sep 4, 2024
1 parent b6f48ec commit 0c6667b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions reoptjl/test/test_job_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,10 @@ def test_superset_input_fields(self):
results = r["outputs"]
self.assertAlmostEqual(results["Financial"]["npv"], -326156.69, delta=0.01*results["Financial"]["lcc"])
assert(resp.status_code==200)
self.assertIn("ElectricHeater", list(results.keys()))
self.assertIn("ASHPSpaceHeater", list(results.keys()))
self.assertIn("ASHPWaterHeater", list(results.keys()))


def test_steamturbine_defaults_from_julia(self):
# Test that the inputs_with_defaults_set_in_julia feature worked for SteamTurbine, consistent with /chp_defaults
Expand Down

0 comments on commit 0c6667b

Please sign in to comment.