[Testbot] Plone 4.3 - Python 2.6 - Build # 2182 - Regression! - 5 failure(s)
jenkins at plone.org
jenkins at plone.org
Fri Jun 27 15:33:24 UTC 2014
-------------------------------------------------------------------------------
Plone 4.3 - Python 2.6 - Build # 2182 - Failure!
-------------------------------------------------------------------------------
http://jenkins.plone.org/job/plone-4.3-python-2.6/2182/
-------------------------------------------------------------------------------
CHANGES
-------------------------------------------------------------------------------
Repository: plone.app.dexterity
Branch: refs/heads/master
Date: 2014-06-27T16:37:31+02:00
Author: Thomas Desvenain (tdesvenain) <thomas.desvenain at gmail.com>
Commit: https://github.com/plone/plone.app.dexterity/commit/217a46c13eee9e08d7f33476518fe208fecfa454
more robust tests: works when field factory label message has no 'default' attribute.
Files changed:
M plone/app/dexterity/tests/editing.txt
diff --git a/plone/app/dexterity/tests/editing.txt b/plone/app/dexterity/tests/editing.txt
index 083f185..250c398 100644
--- a/plone/app/dexterity/tests/editing.txt
+++ b/plone/app/dexterity/tests/editing.txt
@@ -110,7 +110,7 @@ and saved.
... field_id = normalizer.normalize(name).replace('-', '_')
... browser.getControl('Short Name').value = field_id
... browser.getControl('Field type').getControl(
- ... value=getattr(factory.title, 'default', factory.title)
+ ... value=getattr(factory.title, 'default', '') or factory.title
... ).selected = True
... browser.getControl('Add').click()
... assert browser.url == schemaeditor_url, (
-------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CHANGES.log
Type: application/octet-stream
Size: 1105 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140627/6f47c1da/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: application/octet-stream
Size: 168215 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140627/6f47c1da/attachment-0003.obj>
More information about the Testbot
mailing list