quality-time
quality-time copied to clipboard
Failing tests due to timing
Describe the bug Various tests failing due to timing inconsistency/bug (on Windows):
-
collector_utilities.test_date_time.DaysToGoTest
-
test_next_week
: 8 != 7 -
test_now
: 1 != 0
-
However, at 14:45 15-12-2023:
-
collector_utilities.test_date_time.DaysToGoTest
-
test_next_week
: 8 != 7 -
test_tomorrow
: 2 != 1
-
======= Previously also failing tests, fixed by #7680:
-
source_collectors.trello.test_issues.TrelloIssuesTest
-
test_issues
andtest_overdue_issues
fail due to Exception - issues.py, line 34, in card_is_overdue
return due_date < now()
- tz.py, line 222, in utcoffset
if self._isdst(dt):
- tz.py, line 291, in _isdst
dstval = self._naive_is_dst(dt)
- tz.py, line 260, in _naive_is_dst
return time.localtime(timestamp + time.timezone).tm_isdst
-
OSError: [Errno 22] Invalid argument
-
-
source_collectors.azure_devops.test_source_up_to_dateness.AzureDevopsSourceUpToDatenessTest
-
test_age_of_pipeline
andtest_no_file_path_and_no_pipelines_specified
- One day offset just after midnight: '1491' != '1490'
-