Skip to content

Commit

Permalink
add test case for 'clr_prediction_curve'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jer-Sch committed Sep 22, 2021
1 parent 4e3983f commit 14332a4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/grants/tests/models/test_grant_clr_calculation.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,11 @@ def test_grant_clr_calculation_belongs_to_grant_clr(self):
def test_grant_clr_calculation_has_clr_prediction_curve(self):
"""Test 'clr_prediction_curve' attribute and default."""

grant_clr_calculation = GrantCLRCalculationFactory()

assert hasattr(grant_clr_calculation, 'clr_prediction_curve')
assert grant_clr_calculation.clr_prediction_curve == []
assert len(grant_clr_calculation.clr_prediction_curve) == 0



0 comments on commit 14332a4

Please sign in to comment.