diff --git a/app/grants/tests/models/test_grant_clr_calculation.py b/app/grants/tests/models/test_grant_clr_calculation.py index 6555e4853e3..5fd0acb9a81 100644 --- a/app/grants/tests/models/test_grant_clr_calculation.py +++ b/app/grants/tests/models/test_grant_clr_calculation.py @@ -17,23 +17,23 @@ def test_creation(self): assert isinstance(grant_clr_calulation, GrantCLRCalculation) def test_grant_clr_calculation_has_latest_attribute(self): - """Test 'latest' attribute and default value.""" + """Test 'latest' attribute is present and defaults to False.""" grant_clr_calulation = GrantCLRCalculationFactory() assert hasattr(grant_clr_calulation, 'latest') assert grant_clr_calulation.latest == False - def test_grant_clr_calculation_belongs_to_grant(self): - """Test GrantCLRCalculation relationship with associated Grant.""" + def test_grant_clr_calculation_has_associated_grant(self): + """Test 'grant' attribute is present and is an instance of Grant.""" grant_clr_calculation = GrantCLRCalculationFactory() assert hasattr(grant_clr_calculation, 'grant') assert isinstance(grant_clr_calculation.grant, Grant) - def test_grant_clr_calculation_belongs_to_grant_clr(self): - """Test GrantCLRCalculation relationship with associated GrantCLR.""" + def test_grant_clr_calculation_has_associated_grant_clr(self): + """Test 'grantclr' attribute is present and is an instance of GrantCLR.""" grant_clr_calculation = GrantCLRCalculationFactory() @@ -41,7 +41,7 @@ def test_grant_clr_calculation_belongs_to_grant_clr(self): assert isinstance(grant_clr_calculation.grantclr, GrantCLR) def test_grant_clr_calculation_has_clr_prediction_curve(self): - """Test 'clr_prediction_curve' attribute and default.""" + """Test 'clr_prediction_curve' attribute is present and defaults to an empty list.""" grant_clr_calculation = GrantCLRCalculationFactory()