From 031e4c9409abd0ce46a634d5e05db417e785faa7 Mon Sep 17 00:00:00 2001 From: Luc Charland Date: Wed, 3 Sep 2014 22:43:49 -0400 Subject: [PATCH] more of the same --- Tests/Integration/test-preferences.py | 2 +- Tests/Integration/test-sieve.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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", }