diff --git a/plone/app/discussion/tests/test_contentrules.py b/plone/app/discussion/tests/test_contentrules.py index edd5598..e7326ca 100644 --- a/plone/app/discussion/tests/test_contentrules.py +++ b/plone/app/discussion/tests/test_contentrules.py @@ -104,7 +104,7 @@ class ReplyContentRulesTest(unittest.TestCase): re_comment.author_email = "julia@example.com" replies = IReplies(comment) - new_re_id = replies.addComment(re_comment) + replies.addComment(re_comment) def testReplyIdStringSubstitution(self): reply_id = getAdapter( diff --git a/plone/app/discussion/tests/test_events.py b/plone/app/discussion/tests/test_events.py index e72de0c..ac65248 100644 --- a/plone/app/discussion/tests/test_events.py +++ b/plone/app/discussion/tests/test_events.py @@ -157,7 +157,7 @@ class RepliesEventsTest(unittest.TestCase): re_comment.text = 'Comment text' replies = IReplies(comment) - new_re_id = replies.addComment(re_comment) + replies.addComment(re_comment) self.assertTrue(self.registry.replyAdded)