# HG changeset patch # User Julien Cristau # Date 1450709196 -3600 # Node ID 94bbf6d7eaf8152b4f78b2ea1c7abd7d63bece9f # Parent 09be4709c8c0f9199ad8db3c7ce48346f9ac5210 [test/py3k] fix test_recipients_finder AssertionError: != [('abcd@logilab.fr', 'en'), ('efgh@logilab.fr', 'en')] diff -r 09be4709c8c0 -r 94bbf6d7eaf8 sobjects/test/unittest_notification.py --- a/sobjects/test/unittest_notification.py Mon Dec 21 15:44:20 2015 +0100 +++ b/sobjects/test/unittest_notification.py Mon Dec 21 15:46:36 2015 +0100 @@ -76,7 +76,7 @@ self.assertEqual(finder.recipients(), [(u'admin@logilab.fr', 'fr')]) self.set_option('default-recipients-mode', 'default-dest-addrs') self.set_option('default-dest-addrs', 'abcd@logilab.fr, efgh@logilab.fr') - self.assertEqual(finder.recipients(), [('abcd@logilab.fr', 'en'), ('efgh@logilab.fr', 'en')]) + self.assertEqual(list(finder.recipients()), [('abcd@logilab.fr', 'en'), ('efgh@logilab.fr', 'en')]) def test_status_change_view(self): with self.admin_access.web_request() as req: