comment out CommentForm test.
svn path=/plone.app.discussion/trunk/; revision=33845
This commit is contained in:
parent
ef44980649
commit
23eeb041aa
@ -45,12 +45,12 @@ class TestCommentForm(PloneTestCase):
|
|||||||
form = CommentForm(self.viewlet, self.app.REQUEST)
|
form = CommentForm(self.viewlet, self.app.REQUEST)
|
||||||
#self.viewlet.form.render(form)
|
#self.viewlet.form.render(form)
|
||||||
#self.viewlet.form.handleComment()
|
#self.viewlet.form.handleComment()
|
||||||
from z3c.form.testing import TestRequest
|
#from z3c.form.testing import TestRequest
|
||||||
request = TestRequest(form={
|
#request = TestRequest(form={
|
||||||
'form.widgets.title': u'bar',
|
# 'form.widgets.title': u'bar',
|
||||||
'form.widgets.text': u'foo',}
|
# 'form.widgets.text': u'foo',}
|
||||||
)
|
#)
|
||||||
cf = CommentForm(self.viewlet, request)
|
#cf = CommentForm(self.viewlet, request)
|
||||||
#cf.handleComments()
|
#cf.handleComments()
|
||||||
# Zope publisher uses Python list to mark <select> values
|
# Zope publisher uses Python list to mark <select> values
|
||||||
#self.portal.REQUEST["form.widgets.title"] = u"foo"
|
#self.portal.REQUEST["form.widgets.title"] = u"foo"
|
||||||
|
Loading…
Reference in New Issue
Block a user