[Zope3-dev] Linux Test Results - Zope 3 - errors:1
zope-tests@squishdot.org
zope-tests@squishdot.org
Fri, 01 Aug 2003 04:16:10 +0100
======================================================================
Python Version:2.2.3 (#1, Jun 10 2003, 13:52:48)
[GCC 2.95.2 20000220 (Debian GNU/Linux)]
Modules included:
Zope3 (HEAD)
Running unit tests from /stuff/chrisw/ZopeTests/sandbox/Zope3
Error in test unittest.FunctionTestCase (<lambda>)
Traceback (most recent call last):
File "/usr/local/lib/python2.2/unittest.py", line 379, in runTest
self.__testFunc()
File "/stuff/chrisw/ZopeTests/sandbox/Zope3/src/zope/testing/doctestunit.py", line 65, in <lambda>
lambda args=(tester, name, doc, filename, lineno):
File "/stuff/chrisw/ZopeTests/sandbox/Zope3/src/zope/testing/doctestunit.py", line 97, in _test
raise DocTestTestFailure(
DocTestTestFailure: Failed doctest test for zope.configuration.tests.test_simple
File "/stuff/chrisw/ZopeTests/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.2/unittest.py", line 379, in runTest
self.__testFunc()
File "/stuff/chrisw/ZopeTests/sandbox/Zope3/src/zope/testing/doctestunit.py", line 65, in <lambda>
lambda args=(tester, name, doc, filename, lineno):
File "/stuff/chrisw/ZopeTests/sandbox/Zope3/src/zope/testing/doctestunit.py", line 97, in _test
raise DocTestTestFailure(
DocTestTestFailure: Failed doctest test for zope.configuration.tests.test_simple
File "/stuff/chrisw/ZopeTests/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 741.035s
FAILED (errors=1)