Tests expect a False to be returned from the funcion

svn path=/plone.app.discussion/trunk/; revision=49137
This commit is contained in:
Erico Andrei 2011-04-27 19:33:00 +00:00
parent 3a3a2d8e36
commit 9ac35de362
1 changed files with 3 additions and 4 deletions

View File

@ -45,8 +45,7 @@ class View(BrowserView):
comment_workflow = workflowTool[comment_workflow]
if 'pending' in comment_workflow.states:
return True
else:
return
return False
class ModerateCommentsEnabled(BrowserView):
@ -64,8 +63,8 @@ class ModerateCommentsEnabled(BrowserView):
comment_workflow = workflowTool[comment_workflow]
if 'pending' in comment_workflow.states:
return True
else:
return
return False
class DeleteComment(BrowserView):