Skip to content

Commit

Permalink
- updated test
Browse files Browse the repository at this point in the history
  • Loading branch information
elipe17 committed Oct 31, 2024
1 parent d8b5402 commit c3e7828
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tdrs-backend/tdpservice/search_indexes/test/test_reparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,12 +311,12 @@ def test_reparse_quarter_and_year(mocker, dfs, cat4_edge_case_file, big_file, sm
return_value=None
)

opts = {'fiscal_quarter': 'Q1', 'fiscal_year': 2021, 'testing': True}
opts = {'fiscal_quarter': 'Q1', 'fiscal_year': 2022, 'testing': True}
cmd.handle(**opts)

latest = ReparseMeta.objects.select_for_update().latest("pk")
assert latest.num_files == 1
assert latest.num_records_deleted == 3073
assert latest.num_files == 2
assert latest.num_records_deleted == 3077

@pytest.mark.django_db()
def test_reparse_quarter(mocker, dfs, cat4_edge_case_file, big_file, small_ssp_section1_datafile,
Expand Down

0 comments on commit c3e7828

Please sign in to comment.