[Zope3-dev] Win32 Tests - Zope 3 - Too many errors :-(
zope-tests@squishdot.org
zope-tests@squishdot.org
Fri, 01 Aug 2003 00:15:31 +0100
======================================================================
Python Version:2.2.3 (#42, May 30 2003, 18:12:08) [MSC 32 bit (Intel)]
Modules included:
Zope3 (HEAD)
Running unit tests from D:\ZopeTests\sandbox\Zope3
Failure in test test_getInterfacesForProcessName (zope.app.workflow.stateful.tests.test_contentworkflow.ContentWorkflowsManagerTest)
Traceback (most recent call last):
File "D:\ZopeTests\sandbox\Zope3\src\zope\app\workflow\stateful\tests\test_contentworkflow.py", line 155, in test_getInterfacesForProcessName
(IFace2, IFace1))
File "C:\PYTHON22\lib\unittest.py", line 286, in failUnlessEqual
raise self.failureException, \
AssertionError: (<InterfaceClass zope.app.workflow.stateful.tests.test_contentworkflow.IFace1 at 1e63308>, <InterfaceClass zope.app.workflow.stateful.tests.test_contentworkflow.IFace2 at 1e94ec8>) != (<InterfaceClass zope.app.workflow.stateful.tests.test_contentworkflow.IFace2 at 1e94ec8>, <InterfaceClass zope.app.workflow.stateful.tests.test_contentworkflow.IFace1 at 1e63308>)
Error in test unittest.FunctionTestCase (<lambda>)
Traceback (most recent call last):
File "C:\PYTHON22\lib\unittest.py", line 379, in runTest
self.__testFunc()
File "D:\ZopeTests\sandbox\Zope3\src\zope\testing\doctestunit.py", line 65, in <lambda>
lambda args=(tester, name, doc, filename, lineno):
File "D:\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 "D:\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" />
Failure in test test_merge_conflict (zope.fssync.tests.test_fsmerger.TestFSMerger)
Traceback (most recent call last):
File "D:\ZopeTests\sandbox\Zope3\src\zope\fssync\tests\test_fsmerger.py", line 279, in test_merge_conflict
self.make_conflict_entry, self.entry)
File "D:\ZopeTests\sandbox\Zope3\src\zope\fssync\tests\test_fsmerger.py", line 240, in mergetest
self.checkfile(localfile, expected_localdata)
File "D:\ZopeTests\sandbox\Zope3\src\zope\fssync\tests\test_fsmerger.py", line 120, in checkfile
self.assertEqual(actual_data, expected_data)
File "C:\PYTHON22\lib\unittest.py", line 286, in failUnlessEqual
raise self.failureException, \
AssertionError: 'l\n' != '<<<<<<< C:\\DOCUME~1\\CHRISW~1\\LOCALS~1\\Temp\\~2672-689\\local\\foo\nl\n=======\nr\n>>>>>>> C:\\DOCUME~1\\CHRISW~1\\LOCALS~1\\Temp\\~2672-690\\remote\\foo\n'
Failure in test test_merge_diff3 (zope.fssync.tests.test_fsmerger.TestFSMerger)
Traceback (most recent call last):
File "D:\ZopeTests\sandbox\Zope3\src\zope\fssync\tests\test_fsmerger.py", line 267, in test_merge_diff3
self.entry, self.entry)
File "D:\ZopeTests\sandbox\Zope3\src\zope\fssync\tests\test_fsmerger.py", line 234, in mergetest
self.assertEqual(filtered_reports, expected_reports)
File "C:\PYTHON22\lib\unittest.py", line 286, in failUnlessEqual
raise self.failureException, \
AssertionError: ['C C:\\DOCUME~1\\CHRISW~1\\LOCALS~1\\Temp\\~2672-691\\local\\foo'] != ['M C:\\DOCUME~1\\CHRISW~1\\LOCALS~1\\Temp\\~2672-691\\local\\foo']
======================================================================
ERROR: doctest of zope.configuration.tests.test_simple
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\PYTHON22\lib\unittest.py", line 379, in runTest
self.__testFunc()
File "D:\ZopeTests\sandbox\Zope3\src\zope\testing\doctestunit.py", line 65, in <lambda>
lambda args=(tester, name, doc, filename, lineno):
File "D:\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 "D:\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
<truncated>