Skip to content

Commit 762564b

Browse files
test that Average Net Electricity Production/Generation appear in expected categories
1 parent 77dc22c commit 762564b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/geophires_x_client_tests/test_geophires_x_result.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,10 @@ def test_multicategory_fields_only_in_case_report_category(self) -> None:
5050
)
5151
self.assertIsNone(r.result['EXTENDED ECONOMICS']['Total Add-on CAPEX'])
5252
self.assertIsNone(r.result['EXTENDED ECONOMICS']['Total Add-on OPEX'])
53+
5354
self.assertIn('Total Add-on CAPEX', r.result['CAPITAL COSTS (M$)'])
5455
self.assertIn('Total Add-on OPEX', r.result['OPERATING AND MAINTENANCE COSTS (M$/yr)'])
56+
57+
self.assertIsNone(r.result['RESERVOIR SIMULATION RESULTS']['Average Net Electricity Production'])
58+
self.assertIsNotNone(r.result['SUMMARY OF RESULTS']['Average Net Electricity Production'])
59+
self.assertIsNotNone(r.result['SURFACE EQUIPMENT SIMULATION RESULTS']['Average Net Electricity Generation'])

0 commit comments

Comments
 (0)