[Testbot] Plone 5.0 - Python 2.7 - Build # 2955 - Still failing! - 0 failure(s)

jenkins at plone.org jenkins at plone.org
Sun Aug 10 08:34:43 UTC 2014


-------------------------------------------------------------------------------
Plone 5.0 - Python 2.7 - Build # 2955 - Still Failing!
-------------------------------------------------------------------------------

http://jenkins.plone.org/job/plone-5.0-python-2.7/2955/


-------------------------------------------------------------------------------
CHANGES
-------------------------------------------------------------------------------

Repository: plone.app.layout
Branch: refs/heads/master
Date: 2014-08-10T09:13:30+02:00
Author: Timo Stollenwerk (tisto) <tisto at plone.org>
Commit: https://github.com/plone/plone.app.layout/commit/4240a5705771bd88ca406b810346af3bad979579

Fix test failure that seems to occur on os x only.

Files changed:
M plone/app/layout/viewlets/tests/test_content.py

diff --git a/plone/app/layout/viewlets/tests/test_content.py b/plone/app/layout/viewlets/tests/test_content.py
index 5a86fc3..2e32def 100644
--- a/plone/app/layout/viewlets/tests/test_content.py
+++ b/plone/app/layout/viewlets/tests/test_content.py
@@ -1,5 +1,6 @@
 from z3c.relationfield import RelationValue
 from zope.component import getUtility
+from zope.component.hooks import getSite
 from zope.interface import Interface
 from zope.intid.interfaces import IIntIds
 from plone.app.layout.viewlets.tests.base import ViewletsTestCase
@@ -31,8 +32,9 @@ class TestDocumentBylineViewletView(ViewletsTestCase):
     Test the document by line viewlet
     """
     def afterSetUp(self):
-        addMember(self, 'Alan', roles=('Member', 'Manager'))
-        addMember(self, 'Ano', roles=())
+        portal = getSite()
+        addMember(portal, 'Alan', roles=('Member', 'Manager'))
+        addMember(portal, 'Ano', roles=())
 
     def test_anonymous_locked_icon(self):
         request = self.app.REQUEST




-------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CHANGES.log
Type: application/octet-stream
Size: 1365 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140810/a9ea8657/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: application/octet-stream
Size: 93602 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140810/a9ea8657/attachment-0003.obj>


More information about the Testbot mailing list