diff --git a/Tests/Integration/test-preferences.py b/Tests/Integration/test-preferences.py index 8b0abe366..e49e82dd2 100644 --- a/Tests/Integration/test-preferences.py +++ b/Tests/Integration/test-preferences.py @@ -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') diff --git a/Tests/Integration/test-sieve.py b/Tests/Integration/test-sieve.py index 5dcf4dd53..55a85a4c5 100644 --- a/Tests/Integration/test-sieve.py +++ b/Tests/Integration/test-sieve.py @@ -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", }