Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/exceptional situations tests #384

Merged
merged 7 commits into from
Sep 6, 2024
Merged

Conversation

juuso-j
Copy link

@juuso-j juuso-j commented Sep 3, 2024

Fix timestamp handling in exceptional situation tests and model

django.utils.timezone is deprecated in Django 5.0
Subtract 6 hours from start_time, otherwise the test can fail in cases where the tests takes long time to execute.
This removes errors that occurs of how fast tests are run
@juuso-j juuso-j added bug Something isn't working enhancement New feature or request labels Sep 3, 2024
@juuso-j juuso-j requested a review from ezkat September 3, 2024 09:13
@juuso-j juuso-j self-assigned this Sep 3, 2024
@juuso-j juuso-j merged commit 9cd1a1e into develop Sep 6, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants