PSLmodels / Cost-of-Capital-Calculator

A cost of capital and effective tax rate calculator
https://ccc.pslmodels.org
Other
17 stars 33 forks source link

Update tests #390

Closed jdebacker closed 6 months ago

jdebacker commented 6 months ago

This PR updates the test of get_taxcalc_rates.get_calculator to fully cover recent changes that include an option for a baseline iit policy.

codecov-commenter commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (590ca3a) to head (4a0ec23).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/PSLmodels/Cost-of-Capital-Calculator/pull/390/graphs/tree.svg?width=650&height=150&src=pr&token=vOrtCdGu1c&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels)](https://app.codecov.io/gh/PSLmodels/Cost-of-Capital-Calculator/pull/390?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels) ```diff @@ Coverage Diff @@ ## master #390 +/- ## =========================================== + Coverage 99.82% 100.00% +0.17% =========================================== Files 11 11 Lines 1143 1143 =========================================== + Hits 1141 1143 +2 + Misses 2 0 -2 ``` | [Flag](https://app.codecov.io/gh/PSLmodels/Cost-of-Capital-Calculator/pull/390/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/PSLmodels/Cost-of-Capital-Calculator/pull/390/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels) | `100.00% <ø> (+0.17%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels#carryforward-flags-in-the-pull-request-comment) to find out more. [see 1 file with indirect coverage changes](https://app.codecov.io/gh/PSLmodels/Cost-of-Capital-Calculator/pull/390/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PSLmodels)