Skip to content

Commit

Permalink
Freeze time to fix lecture-based test
Browse files Browse the repository at this point in the history
This test fails because now it regards people as having missed lectures.
  • Loading branch information
DavidCain committed Dec 31, 2024
1 parent d436f6d commit a5322df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ws/tests/views/test_api_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,7 @@ def test_not_leader(self) -> None:

# Note to future me -- this test relies on signals creating waitlist signups
# Ideally, we can change to just invoking `trip_or_wait`
@freeze_time("2024-12-01 12:45")
def test_signup_ordering(self) -> None:
par = factories.ParticipantFactory.create(name="Tim B", user=self.user)
trip = factories.TripFactory(
Expand Down

0 comments on commit a5322df

Please sign in to comment.