Skip to content

Commit

Permalink
corrected t7 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
raftmsohani committed Jan 10, 2024
1 parent e45cc62 commit 620bd22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
"""Schema for Tribal TANF T7 Row."""

from tdpservice.parsers.util import SchemaManager
from tdpservice.parsers.fields import Field, TransformField
from tdpservice.parsers.row_schema import RowSchema
from tdpservice.parsers.row_schema import RowSchema, SchemaManager
from tdpservice.parsers.transforms import calendar_quarter_to_rpt_month_year
from tdpservice.parsers import validators
from tdpservice.search_indexes.models.tribal import Tribal_TANF_T7
Expand Down
2 changes: 2 additions & 0 deletions tdrs-backend/tdpservice/parsers/test/test_parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -1203,6 +1203,8 @@ def tribal_section_4_file(stt_user, stt):
@pytest.mark.django_db()
def test_parse_tribal_section_4_file(tribal_section_4_file):
"""Test parsing Tribal TANF Section 4 submission."""
tribal_section_4_file.year = 2020
tribal_section_4_file.quarter = 'Q1'
parse.parse_datafile(tribal_section_4_file)

assert Tribal_TANF_T7.objects.all().count() == 18
Expand Down

0 comments on commit 620bd22

Please sign in to comment.