plone.outputfilters/master: Update test to refelct changes in PortalTransforms
MrTango <jenkins-z4DKO/[email protected]> Fri, 28 Jul 2017 04:26:44 -0700 (PDT)
| Newsgroups | gmane.comp.web.zope.plone.cvs |
|---|---|
| Message-ID | <[email protected]> |
Repository: plone.outputfilters Branch: refs/heads/master Date: 2017-07-07T13:41:33+03:00 Author: MrTango (MrTango) <md-r4/[email protected]> Commit: https://github.com/plone/plone.outputfilters/commit/655f8e4275b7cc9ea239ff3e109fa88d2da4b3e0 Update test to refelct 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 d634706..d9afe55 100644 --- a/plone/outputfilters/tests/test_resolveuid_and_caption.py +++ b/plone/outputfilters/tests/test_resolveuid_and_caption.py @@ -270,9 +270,9 @@ def test_image_captioning_in_news_item(self): # Test captioning output = news_item.text.output - self.assertRegexpMatches(output, r"""<span><dl style="width:500px;" class="captioned"> + self.assertRegexpMatches(output, r"""<span><dl class="captioned"> <dt><img src="http://nohost/plone/image.jpg/@@images/(.*?)\.jpeg" alt="Image" title="Image" height="331" width="500"( ?)/></dt> - <dd class="image-caption" style="width:500px;">My caption</dd> + <dd class="image-caption">My caption</dd> </dl></span>""") def test_image_captioning_absolutizes_uncaptioned_image(self): ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot