Commit 9e92bb5
fix(tests): correct assertion in excluded hours test
The test_get_excluded_hours_for_crontab_tasks method had assertions for
excluded hours that could fail depending on the test execution time.
We can only guarantee what hours are not returned by
test_get_excluded_hours_for_crontab_tasks and have amended the test to
do so.1 parent a70a9dc commit 9e92bb5
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
540 | 540 | | |
541 | 541 | | |
542 | 542 | | |
543 | | - | |
544 | | - | |
| 543 | + | |
545 | 544 | | |
546 | 545 | | |
547 | 546 | | |
| |||
0 commit comments