Fix pickle regression test.

svn path=/plone.app.discussion/trunk/; revision=40373
This commit is contained in:
Timo Stollenwerk 2010-09-28 10:18:16 +00:00
parent 77e44f96ad
commit a55ff5b883

View File

@ -93,7 +93,7 @@ class TestPostCommentsRegression(FunctionalTestCase):
browser.getControl(name='text').value = "Lorem ipsum" browser.getControl(name='text').value = "Lorem ipsum"
browser.getControl(name='form.button.save').click() browser.getControl(name='form.button.save').click()
self.failUnless('Lorem ipsum' in contents) self.failUnless('Lorem ipsum' in browser.contents)
def test_suite(): def test_suite():
return unittest.defaultTestLoader.loadTestsFromName(__name__) return unittest.defaultTestLoader.loadTestsFromName(__name__)