def testIgnoreDeletedEvents(self):
        class Content(object):
            __parent__ = None
            __name__ = None

        handlers.modified(ObjectRemovedEvent(Content()))
        self.assertFalse(self.called)
 def testIgnoreDeletedEvents(self):
     class Content(object):
         __parent__ = None
         __name__ = None
     handlers.modified(ObjectRemovedEvent(Content()))
     self.assertFalse(self.called)