Closed T8902 closed 7 months ago
Your pull request is modifying functions with the following pre-existing issues:
📄 File: website/members/services.py
Function | Unhandled Issue |
---|---|
member_achievements |
ValueError: day is out of range for month /api/v2... Event Count: 45 |
member_achievements |
ValueError: day is out of range for month /member... Event Count: 5 |
Did you find this useful? React with a 👍 or 👎
Test failure mught be different leap yer problems that occur only in test code
Yeah the tests fail because the year in the tests is not a leap year and thus querying the 29th fails. So it is actually a test that could only fail once ever 4 years. Lol
I think it is fixed by simply making sure the test uses a leap year as well
Yup, tests can be updated to not use timezone.now().replace(year=...) or similar in a separate PR
Summary
Profiles broke due to the leap year. This should now be fixed