Skip to content

Commit 354d967

Browse files
committed
Fix faulty test. June has 30 days, so the test would fail when ran on 31st in whatever the github timezone in. (once in a few months)
1 parent dfdfdd4 commit 354d967

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/events/models/test_event.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def test_semester_with_month_lt_7_returns_spring(self):
5959
time = datetime.datetime(
6060
year=current_time.year,
6161
month=6,
62-
day=current_time.day,
62+
day=15,
6363
)
6464
self.event.start_time = time
6565

0 commit comments

Comments
 (0)