fix test in py3

This commit is contained in:
Jens W. Klein 2018-09-28 14:22:51 +02:00
parent 9e7448a049
commit 6cf6bf25f2
2 changed files with 5 additions and 2 deletions

View File

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

View File

@ -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]