more of the same
parent
c621bbcd56
commit
031e4c9409
|
@ -37,7 +37,7 @@ class preferencesTest(unittest.TestCase):
|
||||||
|
|
||||||
def testSetPreventInvitation(self):
|
def testSetPreventInvitation(self):
|
||||||
""" Set/get the PreventInvitation pref"""
|
""" Set/get the PreventInvitation pref"""
|
||||||
self.prefs.set('PreventInvitations', 0)
|
self.prefs.set('PreventInvitations', '0')
|
||||||
notset = self.prefs.get_settings('')['Calendar']['PreventInvitations']
|
notset = self.prefs.get_settings('')['Calendar']['PreventInvitations']
|
||||||
self.assertEqual(notset, 0)
|
self.assertEqual(notset, 0)
|
||||||
self.prefs.set('enablePreventInvitations', '0')
|
self.prefs.set('enablePreventInvitations', '0')
|
||||||
|
|
|
@ -96,7 +96,7 @@ class sieveTest(unittest.TestCase):
|
||||||
|
|
||||||
filterAdd = {"Vacation":"1",
|
filterAdd = {"Vacation":"1",
|
||||||
"autoReplyText": vacation_msg,
|
"autoReplyText": vacation_msg,
|
||||||
"daysBetweenResponse": daysSelect,
|
"daysBetweenResponse": "%d" % daysSelect,
|
||||||
"autoReplyEmailAddresses": self.user_email,
|
"autoReplyEmailAddresses": self.user_email,
|
||||||
"ignoreLists": "1",
|
"ignoreLists": "1",
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue