uses a dict instead of a string of a dict for preventInvitationsTest

This commit is contained in:
Luc Charland
2015-04-17 10:38:40 -04:00
parent 5847e086ec
commit a86b164228
2 changed files with 2 additions and 2 deletions
@@ -56,7 +56,7 @@ class preventInvitationsTest(unittest.TestCase):
""" Set PreventInvitation add to WhiteList and accept the Invitation"""
#- First, add the Organiser to the Attendee's whitelist
self.prefs.set('enablePreventInvitations', '0')
self.prefs.set("whiteList", white_listed_attendee)
self.prefs.set("whiteList", simplejson.dumps(white_listed_attendee))
whitelist = self.prefs.get_settings('Calendar')['PreventInvitationsWhitelist']
self.assertEqual(whitelist, white_listed_attendee)