2 lines between top level functions/classes

This commit is contained in:
Gil Forcada
2015-05-03 08:22:51 +02:00
parent 4bc77a2831
commit 9066183ea9
6 changed files with 28 additions and 1 deletions
@@ -44,7 +44,6 @@ class CommentContentRulesTest(unittest.TestCase):
conversation = IConversation(self.document)
conversation.addComment(comment)
def testEventTypesMarked(self):
self.assertTrue(IRuleEventType.providedBy(ICommentAddedEvent))
self.assertTrue(IRuleEventType.providedBy(ICommentRemovedEvent))
@@ -27,20 +27,29 @@ class EventsRegistry(object):
#
# Fake event handlers
#
def comment_added(doc, evt):
EventsRegistry.commentAdded = True
def comment_removed(doc, evt):
EventsRegistry.commentRemoved = True
def reply_added(doc, evt):
EventsRegistry.replyAdded = True
def reply_removed(doc, evt):
EventsRegistry.replyRemoved = True
#
# Tests
#
class CommentEventsTest(unittest.TestCase):
""" Test custom comments events
"""