Skip to content

Commit

Permalink
Update date filter test to use compiled rather than raw key
Browse files Browse the repository at this point in the history
  • Loading branch information
sabaimran committed Sep 18, 2023
1 parent b225d11 commit 8141be9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_date_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
@pytest.mark.filterwarnings("ignore:The localize method is no longer necessary.")
def test_date_filter():
entries = [
Entry(compiled="", raw="Entry with no date"),
Entry(compiled="", raw="April Fools entry: 1984-04-01"),
Entry(compiled="", raw="Entry with date:1984-04-02"),
Entry(compiled="Entry with no date", raw="Entry with no date"),
Entry(compiled="April Fools entry: 1984-04-01", raw="April Fools entry: 1984-04-01"),
Entry(compiled="Entry with date:1984-04-02", raw="Entry with date:1984-04-02"),
]

q_with_no_date_filter = "head tail"
Expand Down

0 comments on commit 8141be9

Please sign in to comment.