[Testbot] Plone 5.0 - Python 2.7 - Build # 2866 - Fixed! - 0 failure(s)

jenkins at plone.org jenkins at plone.org
Thu Jul 24 21:46:29 UTC 2014


-------------------------------------------------------------------------------
Plone 5.0 - Python 2.7 - Build # 2866 - Fixed!
-------------------------------------------------------------------------------

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


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

Repository: plone.app.layout
Branch: refs/heads/master
Date: 2014-07-24T22:45:51+02:00
Author: Timo Stollenwerk (tisto) <tisto at plone.org>
Commit: https://github.com/plone/plone.app.layout/commit/7d5af15a386759243e7da2d5fda4146d4cc4571c

Fix test that started to fail due to moving the search control panel to z3c.form.

Files changed:
M plone/app/layout/sitemap/tests/test_sitemap.py

diff --git a/plone/app/layout/sitemap/tests/test_sitemap.py b/plone/app/layout/sitemap/tests/test_sitemap.py
index f150c3a..7b0863d 100644
--- a/plone/app/layout/sitemap/tests/test_sitemap.py
+++ b/plone/app/layout/sitemap/tests/test_sitemap.py
@@ -1,6 +1,7 @@
 from plone.registry.interfaces import IRegistry
 from zope.component import getUtility
 from Products.CMFPlone.interfaces import ISiteSchema
+from Products.CMFPlone.interfaces import ISearchSchema
 
 from gzip import GzipFile
 from StringIO import StringIO
@@ -190,8 +191,9 @@ def test_types_not_searched(self):
         self.wftool.doActionFor(newsitem, 'publish')
         self.assertTrue('published' == self.wftool.getInfoFor(
             newsitem, 'review_state'))
-        self.site_properties.manage_changeProperties(
-            types_not_searched=['News Item'])
+        registry = getUtility(IRegistry)
+        search_settings = registry.forInterface(ISearchSchema, prefix="plone")
+        search_settings.types_not_searched = ('News Item',)
         self.logout()
 
         xml = self.uncompress(self.sitemap())




-------------------------------------------------------------------------------


More information about the Testbot mailing list