Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
geier committed Oct 30, 2023
1 parent 8f5e25a commit 36ef5f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions tests/parse_datetime_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ def _construct_event(info, locale,
location=None, categories=None, repeat=None, until=None,
alarm=None, **kwargs):
info = eventinfofstr(' '.join(info), locale,
dt.timedelta(days=1),
dt.timedelta(hours=1),
default_event_duration=dt.timedelta(hours=1),
default_dayevent_duration=dt.timedelta(days=1),
adjust_reasonably=True,
)
if description is not None:
Expand Down
8 changes: 4 additions & 4 deletions tests/settings_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ def test_simple_config(self):
'print_new': 'False',
'highlight_event_days': False,
'timedelta': dt.timedelta(days=2),
'default_event_duration': dt.timedelta(days=1),
'default_dayevent_duration': dt.timedelta(hours=1),
'default_event_duration': dt.timedelta(hours=1),
'default_dayevent_duration': dt.timedelta(days=1),
'default_event_alarm': dt.timedelta(0),
'default_dayevent_alarm': dt.timedelta(0),
'show_all_days': False,
Expand Down Expand Up @@ -103,8 +103,8 @@ def test_small(self):
'print_new': 'False',
'highlight_event_days': False,
'timedelta': dt.timedelta(days=2),
'default_event_duration': dt.timedelta(days=1),
'default_dayevent_duration': dt.timedelta(hours=1),
'default_event_duration': dt.timedelta(hours=1),
'default_dayevent_duration': dt.timedelta(days=1),
'show_all_days': False,
'enable_mouse': True,
'default_event_alarm': dt.timedelta(0),
Expand Down

0 comments on commit 36ef5f1

Please sign in to comment.