|
11 | 11 | from freezegun import freeze_time |
12 | 12 | from hypothesis import given |
13 | 13 |
|
| 14 | +from tests.helpers import pyicu_sensitive |
14 | 15 | from todoman.cli import cli, exceptions |
15 | 16 | from todoman.model import Database, Todo |
16 | 17 |
|
@@ -209,6 +210,7 @@ def test_move(tmpdir, runner, create): |
209 | 210 | assert 'other_list' in result.output |
210 | 211 |
|
211 | 212 |
|
| 213 | +@pyicu_sensitive |
212 | 214 | @freeze_time('2017-03-17 20:22:19') |
213 | 215 | def test_dtstamp(tmpdir, runner, create): |
214 | 216 | """Test that we add the DTSTAMP to new entries as per RFC5545.""" |
@@ -263,6 +265,7 @@ def test_default_due( |
263 | 265 | ) |
264 | 266 |
|
265 | 267 |
|
| 268 | +@pyicu_sensitive |
266 | 269 | @freeze_time(datetime.datetime.now()) |
267 | 270 | def test_default_due2(tmpdir, runner, create, todos): |
268 | 271 | cfg = tmpdir.join('config') |
@@ -644,6 +647,7 @@ def test_todo_edit(runner, default_database, todo_factory): |
644 | 647 | assert 'YARR!' in result.output |
645 | 648 |
|
646 | 649 |
|
| 650 | +@pyicu_sensitive |
647 | 651 | @freeze_time('2017, 3, 20') |
648 | 652 | def test_list_startable(tmpdir, runner, todo_factory): |
649 | 653 | todo_factory(summary='started', start=datetime.datetime(2017, 3, 15)) |
|
0 commit comments