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

jenkins at plone.org jenkins at plone.org
Sun May 4 12:42:51 UTC 2014


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

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


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

Repository: plone.app.dexterity
Branch: refs/heads/master
Date: 2014-05-04T13:56:27+02:00
Author: tisto (tisto) <tisto at plone.org>
Commit: https://github.com/plone/plone.app.dexterity/commit/092f4f1122f93c854b5ed483311b7842dd1f46b7

Revert "Parse the model XML output in doctests to make it independent of the installed libxml/libxslt versions."

This reverts commit 403a0b86a88f2d9511537b989e2a33bfaab3e904.

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 415aa18..083f185 100644
--- a/plone/app/dexterity/tests/editing.txt
+++ b/plone/app/dexterity/tests/editing.txt
@@ -500,13 +500,12 @@ zip archive containing supermodel xml files::
     >>> archive.namelist()
     ['models/plonista2.xml', 'models/plonista-folder.xml']
 
-    >>> from lxml import etree
-    >>> root = etree.XML(archive.read('models/plonista2.xml'))
-    >>> print(etree.tostring(root, pretty_print=True))
-    <model...xmlns="http://namespaces.plone.org/supermodel/schema"...>
-      <schema/>
+    >>> print archive.read('models/plonista2.xml')
+    <model...xmlns="http://namespaces.plone.org/supermodel/schema">
+      <schema>
+      ...
+      </schema>
     </model>
-    ...
 
 If there's only one item selected, we get a single XML file rather than a zip
 file::
@@ -523,10 +522,10 @@ file::
     >>> browser.headers['content-disposition']
     'attachment; filename=plonista2.xml'
 
-    >>> root = etree.XML(browser.contents)
-    >>> print(etree.tostring(root, pretty_print=True))
-    <model...xmlns="http://namespaces.plone.org/supermodel/schema"...>
-      <schema/>
+    >>> print browser.contents
+    <model...xmlns="http://namespaces.plone.org/supermodel/schema">
+      <schema>
+      ...
+      </schema>
     </model>
-    ...
 




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


More information about the Testbot mailing list