[Testbot] Plone 5.0 - Python 2.7 - Build # 1917 - Regression! - 3 failure(s)
jenkins at plone.org
jenkins at plone.org
Tue Mar 11 21:40:33 UTC 2014
-------------------------------------------------------------------------------
Plone 5.0 - Python 2.7 - Build # 1917 - Still Failing!
-------------------------------------------------------------------------------
http://jenkins.plone.org/job/plone-5.0-python-2.7/1917/
-------------------------------------------------------------------------------
CHANGES
-------------------------------------------------------------------------------
Repository: plone.portlet.collection
Branch: refs/heads/master
Date: 2014-03-11T16:20:07-05:00
Author: Nathan Van Gheem (vangheem) <vangheem at gmail.com>
Commit: https://github.com/plone/plone.portlet.collection/commit/1ae96a9b7fa18a23b5384f68e231e06071249be2
auto csrf compat test fixes
Files changed:
M plone/portlet/collection/tests/functional.txt
diff --git a/plone/portlet/collection/tests/functional.txt b/plone/portlet/collection/tests/functional.txt
index ebb98a0..c75a2ac 100644
--- a/plone/portlet/collection/tests/functional.txt
+++ b/plone/portlet/collection/tests/functional.txt
@@ -4,6 +4,15 @@ A functional doctest
Set up testbrowser::
+ >>> def getAuth():
+ ... try:
+ ... from plone.protect import authenticator
+ ... return authenticator.createToken()
+ ... except: # no plone.protect auto csrf, so no worries
+ ... return ''
+
+ >>> from plone.app.testing import login
+ >>> login(layer['portal'], 'admin')
>>> app = layer['app']
>>> from plone.testing.z2 import Browser
>>> browser = Browser(app)
@@ -36,8 +45,7 @@ everything.
>>> transaction.commit()
Now open the portlet manager for the site.
-
- >>> browser.open(portal_url + '/@@manage-portlets')
+ >>> browser.open(portal_url + '/@@manage-portlets?_authenticator=' + getAuth())
Use the 'Add portlet' select box to add a collection portlet.
-------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CHANGES.log
Type: application/octet-stream
Size: 1414 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140311/f520a87c/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: application/octet-stream
Size: 132610 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140311/f520a87c/attachment-0003.obj>
More information about the Testbot
mailing list