Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jtimpe committed Nov 7, 2023
1 parent a321529 commit bdf0463
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tdrs-backend/tdpservice/parsers/test/test_parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ def test_parse_small_ssp_section1_datafile(small_ssp_section1_datafile, dfs):
]}

parser_errors = ParserError.objects.filter(file=small_ssp_section1_datafile)
assert parser_errors.count() == 9
assert parser_errors.count() == 16
assert SSP_M1.objects.count() == expected_m1_record_count
assert SSP_M2.objects.count() == expected_m2_record_count
assert SSP_M3.objects.count() == expected_m3_record_count
Expand All @@ -453,7 +453,7 @@ def test_parse_ssp_section1_datafile(ssp_section1_datafile):
parse.parse_datafile(ssp_section1_datafile)

parser_errors = ParserError.objects.filter(file=ssp_section1_datafile)
assert parser_errors.count() == 12779
assert parser_errors.count() == 19846

assert SSP_M1.objects.count() == expected_m1_record_count
assert SSP_M2.objects.count() == expected_m2_record_count
Expand Down Expand Up @@ -634,7 +634,7 @@ def test_parse_bad_ssp_s1_missing_required(bad_ssp_s1__row_missing_required_fiel
parse.parse_datafile(bad_ssp_s1__row_missing_required_field)

parser_errors = ParserError.objects.filter(file=bad_ssp_s1__row_missing_required_field)
assert parser_errors.count() == 7
assert parser_errors.count() == 9

row_2_error = parser_errors.get(
row_number=2,
Expand Down

0 comments on commit bdf0463

Please sign in to comment.