Some more tests for moderation bulk actions.

svn path=/plone.app.discussion/trunk/; revision=39945
This commit is contained in:
Timo Stollenwerk
2010-09-16 15:42:27 +00:00
parent 742412a7d8
commit e8a4caa5db
2 changed files with 24 additions and 6 deletions
+6 -6
View File
@@ -22,13 +22,13 @@ from plone.app.discussion.interfaces import IComment
# Bug report: https://bugs.launchpad.net/zope2/+bug/176566
#
def _getContext(self): # pragma: no cover
self = self.aq_parent
while getattr(self, '_is_wrapperish', None):
self = self.aq_parent
return self
def _getContext(self): # pragma: no cover
self = self.aq_parent # pragma: no cover
while getattr(self, '_is_wrapperish', None): # pragma: no cover
self = self.aq_parent # pragma: no cover
return self # pragma: no cover
ZopeTwoPageTemplateFile._getContext = _getContext
ZopeTwoPageTemplateFile._getContext = _getContext # pragma: no cover
# End ugly hack.