Skip to content

Commit

Permalink
- Remove debug print statements (#2778)
Browse files Browse the repository at this point in the history
  • Loading branch information
elipe17 authored Dec 13, 2023
1 parent b11e1a9 commit 68e2aba
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion tdrs-backend/tdpservice/parsers/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ class Status(models.TextChoices):
def get_status(self):
"""Set and return the status field based on errors and models associated with datafile."""
errors = ParserError.objects.filter(file=self.datafile)
[print(error) for error in errors]

# excluding row-level pre-checks and trailer pre-checks.
precheck_errors = errors.filter(error_type=ParserErrorCategoryChoices.PRE_CHECK)\
Expand Down
1 change: 0 additions & 1 deletion tdrs-backend/tdpservice/parsers/test/test_parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,6 @@ def test_parse_bad_tfs1_missing_required(bad_tanf_s1__row_missing_required_field
parser_errors = ParserError.objects.filter(
file=bad_tanf_s1__row_missing_required_field)
assert parser_errors.count() == 4
[print(parser_error) for parser_error in parser_errors]

error_message = 'RPT_MONTH_YEAR is required but a value was not provided.'
row_2_error = parser_errors.get(row_number=2, error_message=error_message)
Expand Down

0 comments on commit 68e2aba

Please sign in to comment.