Unused variable
This commit is contained in:
parent
411f36e708
commit
fad5a96129
@ -104,7 +104,7 @@ class ReplyContentRulesTest(unittest.TestCase):
|
|||||||
re_comment.author_email = "julia@example.com"
|
re_comment.author_email = "julia@example.com"
|
||||||
|
|
||||||
replies = IReplies(comment)
|
replies = IReplies(comment)
|
||||||
new_re_id = replies.addComment(re_comment)
|
replies.addComment(re_comment)
|
||||||
|
|
||||||
def testReplyIdStringSubstitution(self):
|
def testReplyIdStringSubstitution(self):
|
||||||
reply_id = getAdapter(
|
reply_id = getAdapter(
|
||||||
|
@ -157,7 +157,7 @@ class RepliesEventsTest(unittest.TestCase):
|
|||||||
re_comment.text = 'Comment text'
|
re_comment.text = 'Comment text'
|
||||||
|
|
||||||
replies = IReplies(comment)
|
replies = IReplies(comment)
|
||||||
new_re_id = replies.addComment(re_comment)
|
replies.addComment(re_comment)
|
||||||
|
|
||||||
self.assertTrue(self.registry.replyAdded)
|
self.assertTrue(self.registry.replyAdded)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user