Ticket #624 (closed defect: wontfix)

Opened 15 years ago

Last modified 14 years ago

CPSSkins unit test fails under Five

Reported by: jmorliaguet Owned by: jmorliaguet
Priority: P3 Milestone: CPS 3.4.0
Component: CPSSkins Version: CPS 3.3 branch
Severity: minor Keywords:


ERROR: test_TextBox_Templet_text_format (CPSSkins.tests.testTemplets.TestTemplets?)

Traceback (most recent call last):

File "/home/jmo/zope-cps3/Products/CPSSkins/tests/testTemplets.py", line 70, in test_TextBox_Templet_text_format


File "/home/jmo/zope-cps3/Products/CPSSkins/BaseTemplet.py", line 492, in render

return self.render_skin(shield=shield, kw)

File "/home/jmo/zope-cps3/Products/CPSSkins/BaseTemplet.py", line 533, in render_skin

rendered = apply(meth, (), kw)

File "/home/jmo/zope-cps3/Products/CMFCore/FSPythonScript.py", line 108, in call

return Script.call(self, *args, kw)

File "/usr/lib/zope-2.7.6/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in call

return self._bindAndExec(args, kw, None)

File "/usr/lib/zope-2.7.6/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec

return self._exec(bound_data, args, kw)

File "/home/jmo/zope-cps3/Products/CMFCore/FSPythonScript.py", line 163, in _exec

result = f(*args, kw)

File "Script (Python)", line 11, in cpsskins_textbox File "/home/jmo/zope-cps3/Products/CPSSkins/TextBox.py", line 103, in render_text_as

text = structured_text(text)

File "/usr/lib/zope-2.7.6/lib/python/DocumentTemplate/DT_Var.py", line 401, in restructured_text

from reStructuredText import HTML

ImportError?: cannot import name HTML

Change History

comment:1 Changed 15 years ago by jmorliaguet

  • Status changed from new to assigned

comment:2 Changed 14 years ago by jmorliaguet

  • Status changed from assigned to closed
  • Resolution set to wontfix

the test doesn't fail with the version of Five shipped with zope-2.8.4 (1.0.2)

zope-2.7.6 is not supported in this context

Note: See TracTickets for help on using tickets.