To Reproduce:
When running test_events.py in the backend, a test comparing the update time of an object in the db was failing due to inaccurate datetimes being compared.
Steps to reproduce the behavior:
Go to job_monitoring_app/backend and run the test_events.py suite
Expected behavior:
Test passes
Actual Behavior:
Tests failed due to inaccurate datetimes
Screenshots:
Environment:
Additional context:
Logs
Possible Fix
Change the datetime creation functions being used so that the datetimes being compared are accurate
Describe the bug:
To Reproduce: When running test_events.py in the backend, a test comparing the update time of an object in the db was failing due to inaccurate datetimes being compared.
Steps to reproduce the behavior:
Go to job_monitoring_app/backend and run the test_events.py suite
Expected behavior:
Test passes Actual Behavior:
Tests failed due to inaccurate datetimes Screenshots:
Environment:
Additional context:
Logs
Possible Fix
Change the datetime creation functions being used so that the datetimes being compared are accurate