Skip to content

Commit

Permalink
Add an assertion for the first event in the recurring series
Browse files Browse the repository at this point in the history
  • Loading branch information
suhaibmujahid committed Apr 11, 2023
1 parent 99ad8d2 commit d288cb5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions auto_nag/tests/test_calendar.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ def test_recurring_event(self):
people=People([]),
)

self.assertEqual(
calendar.get_persons("2022-12-01"), [("Gregory Mierzwinski", None)]
)
self.assertEqual(
calendar.get_persons("2023-02-28"), [("Gregory Mierzwinski", None)]
)

0 comments on commit d288cb5

Please sign in to comment.