Skip to content

Commit

Permalink
Spruce
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerneu committed Jan 30, 2024
1 parent 1d179d6 commit c056fa7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ambition_utils/rrule/tests/model_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1633,8 +1633,8 @@ def test_next_occurrence_clone_with_offset(self):
with freeze_time('1-10-2023'):
# Catch the recurrence object up.
while rrule1.next_occurrence <= datetime.datetime.now():
RRule.objects.handle_overdue()
rrule1.refresh_from_db()
RRule.objects.handle_overdue()
rrule1.refresh_from_db()
self.assertEqual(rrule1.next_occurrence, datetime.datetime(2023, 1, 11))

# Create a clone with an offset and assert that the clone's next occurrence is 1/11 -5 = 1/6.
Expand Down

0 comments on commit c056fa7

Please sign in to comment.