All pastes #739653 Raw Edit

Unnamed

public python v1 · immutable
·published 2007-10-17 11:32 UTC
rendered paste body
Failure in test test_cursos_internet (Products.SebraeConfigurador.tests.test_cursos)Failed doctest test for Products.SebraeConfigurador.tests.test_cursos.test_cursos_internet  File "/Users/dirceu/devel/zope298/Products/SebraeConfigurador/tests/test_cursos.py", line 10, in test_cursos_internet----------------------------------------------------------------------File "/Users/dirceu/devel/zope298/Products/SebraeConfigurador/tests/test_cursos.py", line 35, in Products.SebraeConfigurador.tests.test_cursos.test_cursos_internetFailed example:    portlet_cursos.reindexObject()Exception raised:    Traceback (most recent call last):      File "/opt/zope298/lib/python/zope/testing/doctest.py", line 1348, in __run        compileflags, 1) in test.globs      File "<doctest Products.SebraeConfigurador.tests.test_cursos.test_cursos_internet[14]>", line 1, in ?        portlet_cursos.reindexObject()      File "/Users/dirceu/devel/zope298/Products/Archetypes/CatalogMultiplex.py", line 119, in reindexObject        c.catalog_object(self, url, idxs=lst)      File "/Users/dirceu/devel/zope298/Products/CMFPlone/CatalogTool.py", line 357, in catalog_object        update_metadata, pghandler=pghandler)      File "/opt/zope298/lib/python/Products/ZCatalog/ZCatalog.py", line 567, in catalog_object        update_metadata=update_metadata)      File "/opt/zope298/lib/python/Products/ZCatalog/Catalog.py", line 360, in catalogObject        blah = x.index_object(index, object, threshold)      File "/opt/zope298/lib/python/Products/ZCTextIndex/ZCTextIndex.py", line 187, in index_object        text = text()      File "/Users/dirceu/devel/zope298/Products/Archetypes/BaseObject.py", line 548, in SearchableText        vocab = field.Vocabulary(self)      File "/Users/dirceu/devel/zope298/Products/Archetypes/Field.py", line 441, in Vocabulary        value = mapply(method, *args, **kw)      File "/Users/dirceu/devel/zope298/Products/Archetypes/utils.py", line 161, in mapply        return method(*call_args, **nkw)      File "/Users/dirceu/devel/zope298/Products/SebraeConfigurador/SCPortletCursos.py", line 169, in voc_temas        focos_tematicos = wst.getFocoTematico()      File "/Users/dirceu/devel/zope298/Products/SebraeWebServices/WebServicesTool.py", line 1027, in getFocoTematico        return EducacaoWS(devel=False).getFocoTematicoParsed()      File "/Users/dirceu/devel/zope298/lib/python/sebraews/webservices/wsbase.py", line 46, in __init__        self.caller = DefaultCaller(self.url, devel=devel, debug=debug, timeout=timeout)      File "/Users/dirceu/devel/zope298/lib/python/sebraews/callers.py", line 47, in __init__        self.logger = IWebServiceLogger(self)      File "/opt/zope298/lib/python/zope/interface/interface.py", line 682, in __call__        raise TypeError("Could not adapt", obj, self)    TypeError: ('Could not adapt', <sebraews.callers.DefaultCaller object at 0x5480510>, <InterfaceClass sebraews.interfaces.IWebServiceLogger>)....  Ran 12 tests with 1 failures and 0 errors in 14.957 seconds.