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()
Beispiel #2
0
 def beforeTearDown(self):
     test_utils.restore_all()
     self.portal.manage_delObjects(['fol1'])
 def beforeTearDown(self):
     test_utils.restore_all()
     self.portal.manage_delObjects(['fol1'])