[Zope-Coders] Zope test results (head)

background@shane.zope.com background@shane.zope.com
Mon, 10 Dec 2001 22:05:32 -0500 (EST)


======================================================================
ERROR: check3 (testHTMLTests.HTMLTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/background/zopetest/lib/python/Products/PageTemplates/tests/testHTMLTests.py", line 95, in check3
    out = t(getProducts=self.getProducts)
  File "/home/background/zopetest/lib/python/Products/PageTemplates/PageTemplate.py", line 91, in __call__
    return self.pt_render(extra_context={'options': kwargs})
  File "/home/background/zopetest/lib/python/Products/PageTemplates/PageTemplate.py", line 85, in pt_render
    tal=not source, strictinsert=0)()
  File "/home/background/zopetest/lib/python/TAL/TALInterpreter.py", line 158, in __call__
    self.interpret(self.program)
  File "/home/background/zopetest/lib/python/TAL/TALInterpreter.py", line 191, in interpret
    handlers[opcode](self, args)
  File "/home/background/zopetest/lib/python/TAL/TALInterpreter.py", line 523, in do_useMacro
    self.interpret(macro)
  File "/home/background/zopetest/lib/python/TAL/TALInterpreter.py", line 191, in interpret
    handlers[opcode](self, args)
  File "/home/background/zopetest/lib/python/TAL/TALInterpreter.py", line 542, in do_defineSlot
    self.interpret(slot)
  File "/home/background/zopetest/lib/python/TAL/TALInterpreter.py", line 191, in interpret
    handlers[opcode](self, args)
  File "/home/background/zopetest/lib/python/TAL/TALInterpreter.py", line 476, in do_loop_tal
    self.interpret(block)
  File "/home/background/zopetest/lib/python/TAL/TALInterpreter.py", line 191, in interpret
    handlers[opcode](self, args)
  File "/home/background/zopetest/lib/python/TAL/TALInterpreter.py", line 413, in do_insertText_tal
    text = self.engine.evaluateText(stuff[0])
  File "/home/background/zopetest/lib/python/Products/PageTemplates/TALES.py", line 269, in evaluateText
    text = self.evaluate(expr)
  File "/home/background/zopetest/lib/python/Products/PageTemplates/TALES.py", line 247, in evaluate
    v = expression(self)
  File "/home/background/zopetest/lib/python/Products/PageTemplates/Expressions.py", line 161, in __call__
    return self._eval(econtext, getSecurityManager())
  File "/home/background/zopetest/lib/python/Products/PageTemplates/Expressions.py", line 150, in _eval
    raise Undefined(self._s, sys.exc_info())
Undefined: description not found in 'product/description', at line 45, column 23
======================================================================
ERROR: DTML test 1: if, in, and var:
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/background/zopetest/lib/python/Products/PageTemplates/tests/testDTMLTests.py", line 81, in check1
    o=self.t.__of__(aa)()
  File "/home/background/zopetest/lib/python/Products/PageTemplates/PageTemplate.py", line 91, in __call__
    return self.pt_render(extra_context={'options': kwargs})
  File "/home/background/zopetest/lib/python/Products/PageTemplates/PageTemplate.py", line 85, in pt_render
    tal=not source, strictinsert=0)()
  File "/home/background/zopetest/lib/python/TAL/TALInterpreter.py", line 158, in __call__
    self.interpret(self.program)
  File "/home/background/zopetest/lib/python/TAL/TALInterpreter.py", line 191, in interpret
    handlers[opcode](self, args)
  File "/home/background/zopetest/lib/python/TAL/TALInterpreter.py", line 491, in do_condition
    self.interpret(block)
  File "/home/background/zopetest/lib/python/TAL/TALInterpreter.py", line 191, in interpret
    handlers[opcode](self, args)
  File "/home/background/zopetest/lib/python/TAL/TALInterpreter.py", line 476, in do_loop_tal
    self.interpret(block)
  File "/home/background/zopetest/lib/python/TAL/TALInterpreter.py", line 191, in interpret
    handlers[opcode](self, args)
  File "/home/background/zopetest/lib/python/TAL/TALInterpreter.py", line 413, in do_insertText_tal
    text = self.engine.evaluateText(stuff[0])
  File "/home/background/zopetest/lib/python/Products/PageTemplates/TALES.py", line 269, in evaluateText
    text = self.evaluate(expr)
  File "/home/background/zopetest/lib/python/Products/PageTemplates/TALES.py", line 247, in evaluate
    v = expression(self)
  File "/home/background/zopetest/lib/python/Products/PageTemplates/Expressions.py", line 161, in __call__
    return self._eval(econtext, getSecurityManager())
  File "/home/background/zopetest/lib/python/Products/PageTemplates/Expressions.py", line 150, in _eval
    raise Undefined(self._s, sys.exc_info())
Undefined: num not found in 'arg/num', at line 10, column 31
======================================================================
ERROR: DTML test 3: batches and formatting:
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/background/zopetest/lib/python/Products/PageTemplates/tests/testDTMLTests.py", line 130, in check3
    o=self.t.__of__(aa)(batch=batch.batch(aa.args, 5))
  File "/home/background/zopetest/lib/python/Products/PageTemplates/PageTemplate.py", line 91, in __call__
    return self.pt_render(extra_context={'options': kwargs})
  File "/home/background/zopetest/lib/python/Products/PageTemplates/PageTemplate.py", line 85, in pt_render
    tal=not source, strictinsert=0)()
  File "/home/background/zopetest/lib/python/TAL/TALInterpreter.py", line 158, in __call__
    self.interpret(self.program)
  File "/home/background/zopetest/lib/python/TAL/TALInterpreter.py", line 191, in interpret
    handlers[opcode](self, args)
  File "/home/background/zopetest/lib/python/TAL/TALInterpreter.py", line 491, in do_condition
    self.interpret(block)
  File "/home/background/zopetest/lib/python/TAL/TALInterpreter.py", line 191, in interpret
    handlers[opcode](self, args)
  File "/home/background/zopetest/lib/python/TAL/TALInterpreter.py", line 476, in do_loop_tal
    self.interpret(block)
  File "/home/background/zopetest/lib/python/TAL/TALInterpreter.py", line 191, in interpret
    handlers[opcode](self, args)
  File "/home/background/zopetest/lib/python/TAL/TALInterpreter.py", line 402, in do_setLocal_tal
    self.engine.setLocal(name, self.engine.evaluateValue(expr))
  File "/home/background/zopetest/lib/python/Products/PageTemplates/TALES.py", line 247, in evaluate
    v = expression(self)
  File "/home/background/zopetest/lib/python/Products/PageTemplates/Expressions.py", line 161, in __call__
    return self._eval(econtext, getSecurityManager())
  File "/home/background/zopetest/lib/python/Products/PageTemplates/Expressions.py", line 150, in _eval
    raise Undefined(self._s, sys.exc_info())
Undefined: num not found in 'arg/num', at line 15, column 28
======================================================================
ERROR: Test sample Iterator class
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/background/zopetest/lib/python/Products/PageTemplates/tests/testTALES.py", line 21, in testIterator1
    assert it.next() and not it.next(), "Single-element iterator"
  File "/home/background/zopetest/lib/python/Products/PageTemplates/TALES.py", line 112, in next
    self._context.setLocal(self.name, self.item)
  File "/home/background/zopetest/lib/python/Products/PageTemplates/tests/__init__.py", line 25, in _method_
    assert aargs == args, "Harness method arguments"
TALESError: exceptions.AssertionError on Harness method arguments in 'repeat/name'
======================================================================
ERROR: Test sample Iterator class
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/background/zopetest/lib/python/Products/PageTemplates/tests/testTALES.py", line 31, in testIterator2
    assert it.next(), "Multi-element iterator"
  File "/home/background/zopetest/lib/python/Products/PageTemplates/TALES.py", line 112, in next
    self._context.setLocal(self.name, self.item)
  File "/home/background/zopetest/lib/python/Products/PageTemplates/tests/__init__.py", line 25, in _method_
    assert aargs == args, "Harness method arguments"
TALESError: exceptions.AssertionError on Harness method arguments in 'repeat/text'
----------------------------------------------------------------------
Ran 1087 tests in 162.657s

FAILED (errors=5)

======================================================================
OVERALL FAILED (total errors=5)