more of the same

pull/52/head
Luc Charland 2014-09-03 22:43:49 -04:00
parent c621bbcd56
commit 031e4c9409
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ class preferencesTest(unittest.TestCase):
def testSetPreventInvitation(self):
""" Set/get the PreventInvitation pref"""
self.prefs.set('PreventInvitations', 0)
self.prefs.set('PreventInvitations', '0')
notset = self.prefs.get_settings('')['Calendar']['PreventInvitations']
self.assertEqual(notset, 0)
self.prefs.set('enablePreventInvitations', '0')

View File

@ -96,7 +96,7 @@ class sieveTest(unittest.TestCase):
filterAdd = {"Vacation":"1",
"autoReplyText": vacation_msg,
"daysBetweenResponse": daysSelect,
"daysBetweenResponse": "%d" % daysSelect,
"autoReplyEmailAddresses": self.user_email,
"ignoreLists": "1",
}