Skip to content

Commit b832460

Browse files
jeffa5WhyNotHugo
authored andcommitted
Fix tests
1 parent aa2571e commit b832460

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

tests/settings_test.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,19 @@ def test_simple_config(self):
4343
'home': {
4444
'path': os.path.expanduser('~/.calendars/home/'), 'readonly': False,
4545
'color': None, 'priority': 10, 'type': 'calendar', 'addresses': [''],
46+
'organizer': None,
4647
},
4748
'work': {
4849
'path': os.path.expanduser('~/.calendars/work/'), 'readonly': False,
4950
'color': None, 'priority': 10, 'type': 'calendar', 'addresses': [''],
51+
'organizer': None,
5052
},
5153
},
5254
'sqlite': {'path': os.path.expanduser('~/.local/share/khal/khal.db')},
5355
'locale': LOCALE_BERLIN,
5456
'default': {
5557
'default_calendar': None,
58+
'default_organizer': None,
5659
'print_new': 'False',
5760
'highlight_event_days': False,
5861
'timedelta': dt.timedelta(days=2),
@@ -85,10 +88,11 @@ def test_small(self):
8588
'calendars': {
8689
'home': {'path': os.path.expanduser('~/.calendars/home/'),
8790
'color': 'dark green', 'readonly': False, 'priority': 20,
88-
'type': 'calendar', 'addresses': ['']},
91+
'type': 'calendar', 'addresses': [''], 'organizer': None},
8992
'work': {'path': os.path.expanduser('~/.calendars/work/'),
9093
'readonly': True, 'color': None, 'priority': 10,
91-
'type': 'calendar', 'addresses': ['[email protected]']}},
94+
'type': 'calendar', 'addresses': ['[email protected]'],
95+
'organizer': None}},
9296
'sqlite': {'path': os.path.expanduser('~/.local/share/khal/khal.db')},
9397
'locale': {
9498
'local_timezone': get_localzone(),
@@ -104,6 +108,7 @@ def test_small(self):
104108
},
105109
'default': {
106110
'default_calendar': None,
111+
'default_organizer': None,
107112
'print_new': 'False',
108113
'highlight_event_days': False,
109114
'timedelta': dt.timedelta(days=2),

0 commit comments

Comments
 (0)