From 6cf6bf25f2d2e87eac7185db4623542d02a5d478 Mon Sep 17 00:00:00 2001 From: "Jens W. Klein" Date: Fri, 28 Sep 2018 14:22:51 +0200 Subject: [PATCH] fix test in py3 --- CHANGES.rst | 2 +- plone/app/discussion/tests/test_catalog.py | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 74f80da..92c6b58 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -23,7 +23,7 @@ Bug fixes: [iham] - Fix commenting and tests in python 3. - [pbauer] + [pbauer, jensens] 3.0.6 (2018-06-18) ------------------ diff --git a/plone/app/discussion/tests/test_catalog.py b/plone/app/discussion/tests/test_catalog.py index 1b37d77..8856866 100644 --- a/plone/app/discussion/tests/test_catalog.py +++ b/plone/app/discussion/tests/test_catalog.py @@ -204,7 +204,10 @@ class ConversationCatalogTest(unittest.TestCase): ) doc1_brain = brains[0] - self.assertEqual(doc1_brain.commentators, ('Jim', 'Emma')) + self.assertEqual( + sorted(doc1_brain.commentators), + sorted(('Jim', 'Emma')), + ) # remove one comments del self.conversation[new_comment2_id]