plone.outputfilters/master: Update tests to reflect changes in PortalTransforms

MrTango <jenkins-z4DKO/[email protected]> Fri, 28 Jul 2017 04:26:41 -0700 (PDT)
Newsgroups gmane.comp.web.zope.plone.cvs
Message-ID <[email protected]>
Repository: plone.outputfilters
Branch: refs/heads/master
Date: 2017-07-07T10:08:28+03:00
Author: MrTango (MrTango) <md-r4/[email protected]>
Commit: https://github.com/plone/plone.outputfilters/commit/59388cf986186a35f65e938b7df9a4f19f1266ba

Update tests to reflect changes in PortalTransforms

Files changed:
M plone/outputfilters/tests/test_resolveuid_and_caption.py

diff --git a/plone/outputfilters/tests/test_resolveuid_and_caption.py b/plone/outputfilters/tests/test_resolveuid_and_caption.py
index 46a0d76..d634706 100644
--- a/plone/outputfilters/tests/test_resolveuid_and_caption.py
+++ b/plone/outputfilters/tests/test_resolveuid_and_caption.py
@@ -311,9 +311,9 @@ def test_image_captioning_relative_path_private_folder(self):
         self.logout()
 
         text_in = """<img class="captioned" src="private/image.jpg"/>"""
-        text_out = """<dl style="width:500px;" class="captioned">
+        text_out = """<dl class="captioned">
 <dt><img src="http://nohost/plone/private/image.jpg/@@images/....jpeg" alt="Image" title="Image" height="331" width="500" /></dt>
- <dd class="image-caption" style="width:500px;">My private image caption</dd>
+ <dd class="image-caption">private image caption</dd>
 </dl>"""
         self._assertTransformsTo(text_in, text_out)
 



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot