[Testbot] Plone 4.3 - Python 2.6 - Build # 2528 - Still failing! - 1 failure(s)
jenkins at plone.org
jenkins at plone.org
Sun Nov 2 12:12:28 UTC 2014
-------------------------------------------------------------------------------
Plone 4.3 - Python 2.6 - Build # 2528 - Still Failing!
-------------------------------------------------------------------------------
http://jenkins.plone.org/job/plone-4.3-python-2.6/2528/
-------------------------------------------------------------------------------
CHANGES
-------------------------------------------------------------------------------
Repository: plone.app.contenttypes
Branch: refs/heads/master
Date: 2014-11-02T11:29:43Z
Author: Philip Bauer (pbauer) <bauer at starzel.de>
Commit: https://github.com/plone/plone.app.contenttypes/commit/d4b269b3e6c59ca026bbf4be0b50e00d675f7034
add teardown to fix test
Files changed:
M plone/app/contenttypes/tests/test_document.py
diff --git a/plone/app/contenttypes/tests/test_document.py b/plone/app/contenttypes/tests/test_document.py
index abe074d..17daf90 100644
--- a/plone/app/contenttypes/tests/test_document.py
+++ b/plone/app/contenttypes/tests/test_document.py
@@ -22,7 +22,7 @@
from plone.app.testing import TEST_USER_ID, setRoles
from plone.app.z3cform.interfaces import IPloneFormLayer
-
+import transaction
class DocumentIntegrationTest(unittest.TestCase):
@@ -85,6 +85,11 @@ def test_view(self):
self.assertTrue('This is my document.' in view())
self.assertTrue('Lorem ipsum' in view())
+ def tearDown(self):
+ if 'document' in self.portal.objectIds():
+ self.portal.manage_delObjects(ids='document')
+ transaction.commit()
+
class DocumentFunctionalTest(unittest.TestCase):
-------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CHANGES.log
Type: application/octet-stream
Size: 1160 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20141102/5e37f474/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: application/octet-stream
Size: 168279 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20141102/5e37f474/attachment-0003.obj>
More information about the Testbot
mailing list