[Zope3-dev] FreeBSD Test Results - Zope 3 / Python 2.3 - errors:1

zope-tests@bitdance.com zope-tests@bitdance.com
Fri, 1 Aug 2003 04:26:52 -0400 (EDT)


==============================================================================
==============================================================================
Python Version:2.3b2+ (#12, Jul  1 2003, 10:57:57) 
[GCC 2.95.4 20020320 [FreeBSD]]

Modules included:
Zope3 (HEAD)

Running unit tests from /var/home/rdmurray/proj/zopeautotest/sandbox/Zope3
Error in test unittest.FunctionTestCase (<lambda>)
Traceback (most recent call last):
  File "/usr/local/lib/python2.3/unittest.py", line 413, in runTest
    self.__testFunc()
  File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/testing/doctestunit.py", line 65, in <lambda>
    lambda args=(tester, name, doc, filename, lineno):
  File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/testing/doctestunit.py", line 97, in _test
    raise DocTestTestFailure(
DocTestTestFailure: Failed doctest test for zope.configuration.tests.test_simple
  File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/configuration/tests/test_simple.py", line 1 (or below), in test_simple

*****************************************************************
Failure in example:
for i in file_registry:
  print "path:", clean_path(i.path)
  print "title:", i.title
  print "description:", '\n'.join(
              [l.rstrip()
               for l in i.description.strip().split('\n')
               if l.rstrip()])
  print "info:"
  print clean_text_w_paths(i.info)
from line #110 of zope.configuration.tests.test_simple
Expected:
path: tests/test_simple.py
title: How to create a simple directive
description: Describes how to implement a simple directive
info:
File "tests/simple.zcml", line 19.2-24.2
    <files:register
        path="test_simple.py"
        title="How to create a simple directive"
        >
      Describes how to implement a simple directive
    </files:register>
path: tests/simple.zcml
title: 
description: Shows the ZCML directives needed to register a simple directive.
    Also show some usage examples,
info:
File "tests/simple.zcml", line 26.2-30.2
    <files:register path="simple.zcml">
      Shows the ZCML directives needed to register a simple directive.
      Also show some usage examples,
    </files:register>
path: tests/__init__.py
title: Make this a package
description: 
info:
File "tests/simple.zcml", line 32.2-32.67
    <files:register path="__init__.py" title="Make this a package" />
Got:
path: tests/test_simple.py
title: How to create a simple directive
description: Describes how to implement a simple directive
info:
File "tests/simple.zcml", line 19.2-24.2
    <files:register
        path="test_simple.py"
        title="How to create a simple directive"
        >
      Describes how to implement a simple directive
    </files:register>
path: tests/simple.zcml
title: 
description: Shows the ZCML directives needed to register a simple directive.
    Also show some usage examples,
info:
File "tests/simple.zcml", line 26.2-30.2
    <files:register path="simple.zcml">
      Shows the ZCML directives needed to register a simple directive.
      Also show some usage examples,
    </files:register>
path: tests/__init__.py
title: Make this a package
description: 
info:
File "tests/simple.zcml", line 32.2-32.67
    <files:register path="__init__.py" title="Make this a package" />
path: tests/test_simple.py
title: How to create a simple directive
description: Describes how to implement a simple directive
info:
File "tests/simple.zcml", line 19.2-24.2
    <files:register
        path="test_simple.py"
        title="How to create a simple directive"
        >
      Describes how to implement a simple directive
    </files:register>
path: tests/simple.zcml
title: 
description: Shows the ZCML directives needed to register a simple directive.
    Also show some usage examples,
info:
File "tests/simple.zcml", line 26.2-30.2
    <files:register path="simple.zcml">
      Shows the ZCML directives needed to register a simple directive.
      Also show some usage examples,
    </files:register>
path: tests/__init__.py
title: Make this a package
description: 
info:
File "tests/simple.zcml", line 32.2-32.67
    <files:register path="__init__.py" title="Make this a package" />


======================================================================
ERROR: doctest of zope.configuration.tests.test_simple
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.3/unittest.py", line 413, in runTest
    self.__testFunc()
  File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/testing/doctestunit.py", line 65, in <lambda>
    lambda args=(tester, name, doc, filename, lineno):
  File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/testing/doctestunit.py", line 97, in _test
    raise DocTestTestFailure(
DocTestTestFailure: Failed doctest test for zope.configuration.tests.test_simple
  File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/configuration/tests/test_simple.py", line 1 (or below), in test_simple

*****************************************************************
Failure in example:
for i in file_registry:
  print "path:", clean_path(i.path)
  print "title:", i.title
  print "description:", '\n'.join(
              [l.rstrip()
               for l in i.description.strip().split('\n')
               if l.rstrip()])
  print "info:"
  print clean_text_w_paths(i.info)
from line #110 of zope.configuration.tests.test_simple
Expected:
path: tests/test_simple.py
title: How to create a simple directive
description: Describes how to implement a simple directive
info:
File "tests/simple.zcml", line 19.2-24.2
    <files:register
        path="test_simple.py"
        title="How to create a simple directive"
        >
      Describes how to implement a simple directive
    </files:register>
path: tests/simple.zcml
title: 
description: Shows the ZCML directives needed to register a simple directive.
    Also show some usage examples,
info:
File "tests/simple.zcml", line 26.2-30.2
    <files:register path="simple.zcml">
      Shows the ZCML directives needed to register a simple directive.
      Also show some usage examples,
    </files:register>
path: tests/__init__.py
title: Make this a package
description: 
info:
File "tests/simple.zcml", line 32.2-32.67
    <files:register path="__init__.py" title="Make this a package" />
Got:
path: tests/test_simple.py
title: How to create a simple directive
description: Describes how to implement a simple directive
info:
File "tests/simple.zcml", line 19.2-24.2
    <files:register
        path="test_simple.py"
        title="How to create a simple directive"
        >
      Describes how to implement a simple directive
    </files:register>
path: tests/simple.zcml
title: 
description: Shows the ZCML directives needed to register a simple directive.
    Also show some usage examples,
info:
File "tests/simple.zcml", line 26.2-30.2
    <files:register path="simple.zcml">
      Shows the ZCML directives needed to register a simple directive.
      Also show some usage examples,
    </files:register>
path: tests/__init__.py
title: Make this a package
description: 
info:
File "tests/simple.zcml", line 32.2-32.67
    <files:register path="__init__.py" title="Make this a package" />
path: tests/test_simple.py
title: How to create a simple directive
description: Describes how to implement a simple directive
info:
File "tests/simple.zcml", line 19.2-24.2
    <files:register
        path="test_simple.py"
        title="How to create a simple directive"
        >
      Describes how to implement a simple directive
    </files:register>
path: tests/simple.zcml
title: 
description: Shows the ZCML directives needed to register a simple directive.
    Also show some usage examples,
info:
File "tests/simple.zcml", line 26.2-30.2
    <files:register path="simple.zcml">
      Shows the ZCML directives needed to register a simple directive.
      Also show some usage examples,
    </files:register>
path: tests/__init__.py
title: Make this a package
description: 
info:
File "tests/simple.zcml", line 32.2-32.67
    <files:register path="__init__.py" title="Make this a package" />


----------------------------------------------------------------------
Ran 4822 tests in 512.142s

FAILED (errors=1)