diff --git a/tdrs-backend/tdpservice/parsers/case_consistency_validator.py b/tdrs-backend/tdpservice/parsers/case_consistency_validator.py index 833a66540..db90a99e8 100644 --- a/tdrs-backend/tdpservice/parsers/case_consistency_validator.py +++ b/tdrs-backend/tdpservice/parsers/case_consistency_validator.py @@ -361,7 +361,9 @@ def __validate_s2_records_are_related(self): )) elif closure_reason == '03' and not is_ssp: num_errors += self.__validate_case_closure_ftl(t4, t5s, ( - 'At least one person who is HoH or spouse of HoH on case must have FTL months >=60.' + 'At least one person who is head-of-household or spouse of head-of-household ' + 'on case must have countable months toward time limit >= 60 since ' + 'CLOSURE_REASON = 03: federal 5 year time limit.' )) if len(t5s) == 0: for record, schema in t4s: diff --git a/tdrs-backend/tdpservice/parsers/test/test_case_consistency.py b/tdrs-backend/tdpservice/parsers/test/test_case_consistency.py index cdeecc381..f18eb7e3e 100644 --- a/tdrs-backend/tdpservice/parsers/test/test_case_consistency.py +++ b/tdrs-backend/tdpservice/parsers/test/test_case_consistency.py @@ -816,7 +816,9 @@ def test_section2_validator_fail_case_closure_ftl(self, small_correct_file, head assert num_errors == 1 assert errors[0].error_type == ParserErrorCategoryChoices.CASE_CONSISTENCY assert errors[0].error_message == ( - 'At least one person who is HoH or spouse of HoH on case must have FTL months >=60.' + 'At least one person who is head-of-household or spouse of head-of-household ' + 'on case must have countable months toward time limit >= 60 since ' + 'CLOSURE_REASON = 03: federal 5 year time limit.' ) @pytest.mark.parametrize("header,T4Stuff,T5Stuff,stt_type", [