Skip to content

Commit

Permalink
Aligned date parser tests with date parser logic
Browse files Browse the repository at this point in the history
  • Loading branch information
personofnorank committed Oct 17, 2024
1 parent f638353 commit 8fab40e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit_tests/utils/date_parser_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def test_get_since_until() -> None:
assert result == expected

result = get_since_until("previous calendar quarter")
expected = datetime(2016, 7, 1, 0, 0, 0), datetime(2016, 9, 30, 0, 0, 0)
expected = datetime(2016, 7, 1, 0, 0, 0), datetime(2016, 10, 1, 0, 0, 0)
assert result == expected

result = get_since_until("previous calendar year")
Expand Down

0 comments on commit 8fab40e

Please sign in to comment.