Example #1
0
 def beforeTearDown(self):
     notif_tool = self.portal.getNotificationTool()
     restore_all()
     for args in self._subscriptions_to_remove:
         notif_tool.remove_account_subscription(*args)
     self.portal.manage_delObjects(['fol1', 'fol2'])
     notif_tool.config.update(self._notif_config)
     divert_notifications(False)
     transaction.commit()
Example #2
0
 def beforeTearDown(self):
     test_utils.restore_all()
     self.portal.manage_delObjects(['fol1'])
Example #3
0
 def beforeTearDown(self):
     test_utils.restore_all()
     self.portal.manage_delObjects(['fol1'])