Skip to content

Commit

Permalink
Update test_http_endpoints.py
Browse files Browse the repository at this point in the history
  • Loading branch information
adfarth committed Jan 25, 2025
1 parent d739c13 commit 67be826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reoptjl/test/test_http_endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def test_cambium_profile_endpoint(self):
view_response = json.loads(resp.content)
self.assertEquals(view_response["metric_col"], "lrmer_co2e")
self.assertEquals(view_response["location"], "Northern Grid West")
self.assertEquals(len(view_response["emissions_factor_series_lb_CO2_per_kwh"]), 8760)
self.assertEquals(len(view_response["data_series"]), 8760)
#case 2: location off shore of NJ (works for AVERT, not Cambium)
inputs["latitude"] = 39.034417
inputs["longitude"] = -74.759292
Expand Down

0 comments on commit 67be826

Please sign in to comment.