Skip to content

Commit 5d30e2f

Browse files
Fix unit test. Remove unused import
1 parent c3c05d9 commit 5d30e2f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/geophires_x/EconomicsSam.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
from geophires_x.GeoPHIRESUtils import is_float, is_int, sig_figs, quantity
4444
from geophires_x.OptionList import EconomicModel, EndUseOptions
4545
from geophires_x.Parameter import Parameter, OutputParameter, floatParameter
46-
from geophires_x.Units import convertible_unit, EnergyCostUnit, CurrencyUnit, Units, CurrencyFrequencyUnit
46+
from geophires_x.Units import convertible_unit, EnergyCostUnit, CurrencyUnit, Units
4747

4848

4949
@dataclass

tests/test_geophires_x.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1452,7 +1452,7 @@ def test_royalty_rate_with_addon(self):
14521452
)
14531453
)
14541454

1455-
self.assertEqual(30, sig_figs(result.result['EXTENDED ECONOMICS']['Royalty Holder NPV']['value'], 1))
1455+
self.assertEqual(50, sig_figs(result.result['EXTENDED ECONOMICS']['Royalty Holder NPV']['value'], 1))
14561456

14571457
addon_cash_flow = _cash_flow_profile_row(result.result['SAM CASH FLOW PROFILE'], 'Capacity payment revenue ($)')
14581458
self.assertEqual(0, addon_cash_flow[0])

0 commit comments

Comments
 (0)