Typo
This commit is contained in:
parent
0ade2c4329
commit
2baafcbfd8
@ -111,7 +111,7 @@ class TestCommentForm(unittest.TestCase):
|
|||||||
self.assertFalse(commentForm.handleComment(commentForm, "foo"))
|
self.assertFalse(commentForm.handleComment(commentForm, "foo"))
|
||||||
|
|
||||||
comments = IConversation(commentForm.context).getComments()
|
comments = IConversation(commentForm.context).getComments()
|
||||||
comments = [comment for comment in comments] # consume itertor
|
comments = [comment for comment in comments] # consume iterator
|
||||||
self.assertEqual(len(comments), 1)
|
self.assertEqual(len(comments), 1)
|
||||||
|
|
||||||
for comment in comments:
|
for comment in comments:
|
||||||
|
Loading…
Reference in New Issue
Block a user