Merge pull request #141 from plone/python3

fix test in py3
This commit is contained in:
Jens W. Klein 2018-09-28 15:17:34 +02:00 committed by GitHub
commit 6732ae7d34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -23,7 +23,7 @@ Bug fixes:
[iham] [iham]
- Fix commenting and tests in python 3. - Fix commenting and tests in python 3.
[pbauer] [pbauer, jensens]
3.0.6 (2018-06-18) 3.0.6 (2018-06-18)
------------------ ------------------

View File

@ -204,7 +204,10 @@ class ConversationCatalogTest(unittest.TestCase):
) )
doc1_brain = brains[0] doc1_brain = brains[0]
self.assertEqual(doc1_brain.commentators, ('Jim', 'Emma')) self.assertEqual(
sorted(doc1_brain.commentators),
sorted(('Jim', 'Emma')),
)
# remove one comments # remove one comments
del self.conversation[new_comment2_id] del self.conversation[new_comment2_id]