From fad5a961297e2e11deeb050135f809beb0b8b481 Mon Sep 17 00:00:00 2001 From: Gil Forcada Date: Sun, 3 May 2015 08:27:21 +0200 Subject: [PATCH] Unused variable --- plone/app/discussion/tests/test_contentrules.py | 2 +- plone/app/discussion/tests/test_events.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)