[Zope-tests] OK: Test Zope3 HEAD / Python 2.3 / Linux

jeremy at zope.com jeremy at zope.com
Thu Apr 15 07:27:29 EDT 2004


Email automatically generated by a daily test runner.

cd /tmp/autotestsIBTig/Zope3
PYTHONPATH=  /usr/local/bin/python2.3 -u test.py -v --all
Configuration file found.
Running UNIT tests at all levels
Running UNIT tests from /tmp/autotestsIBTig/Zope3
not a package src/zope/app/browser/skins/rotterdam/tests
.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................../tmp/autotestsIBTig/Zope3/src/ZODB/Connection.py:247: DeprecationWarning: getTransaction() is deprecated.
  DeprecationWarning)
.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................../tmp/autotestsIBTig/Zope3/src/ZODB/Connection.py:261: DeprecationWarning: getTransaction() is deprecated. Use the txn_mgr argument to DB.open() instead.
  DeprecationWarning)
.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................!
.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................!
..................................................................................................................................................................................................................................................................................................................................................................................

Failure in test test_directive_and_integration (zope.configuration.tests.test_backward)
Traceback (most recent call last):
  File "/tmp/autotestsIBTig/Zope3/src/zope/testing/doctestunit.py", line 72, in runTest
    raise self.failureException(
AssertionError: Failed doctest test for zope.configuration.tests.test_backward.test_directive_and_integration
  File "/tmp/autotestsIBTig/Zope3/src/zope/configuration/tests/test_backward.py", line 24, in test_directive_and_integration

Running string zope.configuration.tests.test_backward.test_directive_and_integration
Trying: from zope.configuration import tests
Expecting: nothing
ok
Trying: context = xmlconfig.file("backward.zcml", tests, execute=False)
Expecting: nothing
ok
Trying:
for action in context.actions:
  print action[:2]
  print action[2]
  print clean_text_w_paths(unicode(action[5]))
  if action[5].text.strip():
     print action[5].text.strip()
Expecting:
(('simple', u'aa', u'xxx', u'cc'), f)
(u'aa', u'xxx', u'cc')
File "tests/backward.zcml", line 26.2-26.34
    <test:simple a="aa" c="cc">first</test:simple>
first
(('newsimple', u'naa', u'nbb', u'ncc'), f)
(u'naa', u'nbb', u'ncc')
File "tests/backward.zcml", line 27.2-27.48
    <test:newsimple a="naa" c="ncc" b="nbb">second</test:newsimple>
second
('Complex.__init__', None)
()
File "tests/backward.zcml", line 48.2-53.2
    <test:testc a="ca" c="cc">
       Third
       <test:factory factory=".f">
          Fourth
       </test:factory>
    </test:testc>
Third
(('Complex.factory', 1, 2), u'.f')
(u'ca',)
File "tests/backward.zcml", line 50.5-52.5
       <test:factory factory=".f">
          Fourth
       </test:factory>
Fourth
(('Complex', 1, 2), f)
(u'xxx', u'cc')
File "tests/backward.zcml", line 48.2-53.2
    <test:testc a="ca" c="cc">
       Third
       <test:factory factory=".f">
          Fourth
       </test:factory>
    </test:testc>
Third
*****************************************************************
Failure in example:
for action in context.actions:
  print action[:2]
  print action[2]
  print clean_text_w_paths(unicode(action[5]))
  if action[5].text.strip():
     print action[5].text.strip()
from line #8 of zope.configuration.tests.test_backward.test_directive_and_integration
Expected:
(('simple', u'aa', u'xxx', u'cc'), f)
(u'aa', u'xxx', u'cc')
File "tests/backward.zcml", line 26.2-26.34
    <test:simple a="aa" c="cc">first</test:simple>
first
(('newsimple', u'naa', u'nbb', u'ncc'), f)
(u'naa', u'nbb', u'ncc')
File "tests/backward.zcml", line 27.2-27.48
    <test:newsimple a="naa" c="ncc" b="nbb">second</test:newsimple>
second
('Complex.__init__', None)
()
File "tests/backward.zcml", line 48.2-53.2
    <test:testc a="ca" c="cc">
       Third
       <test:factory factory=".f">
          Fourth
       </test:factory>
    </test:testc>
Third
(('Complex.factory', 1, 2), u'.f')
(u'ca',)
File "tests/backward.zcml", line 50.5-52.5
       <test:factory factory=".f">
          Fourth
       </test:factory>
Fourth
(('Complex', 1, 2), f)
(u'xxx', u'cc')
File "tests/backward.zcml", line 48.2-53.2
    <test:testc a="ca" c="cc">
       Third
       <test:factory factory=".f">
          Fourth
       </test:factory>
    </test:testc>
Third
Got:
(('simple', u'aa', u'xxx', u'cc'), f)
(u'aa', u'xxx', u'cc')
File "testsIBTig/Zope3/src/zope/configuration/tests/backward.zcml", line 26.2-26.34
    <test:simple a="aa" c="cc">first</test:simple>
first
(('newsimple', u'naa', u'nbb', u'ncc'), f)
(u'naa', u'nbb', u'ncc')
File "testsIBTig/Zope3/src/zope/configuration/tests/backward.zcml", line 27.2-27.48
    <test:newsimple a="naa" c="ncc" b="nbb">second</test:newsimple>
second
('Complex.__init__', None)
()
File "testsIBTig/Zope3/src/zope/configuration/tests/backward.zcml", line 48.2-53.2
    <test:testc a="ca" c="cc">
       Third
       <test:factory factory=".f">
          Fourth
       </test:factory>
    </test:testc>
Third
(('Complex.factory', 1, 2), u'.f')
(u'ca',)
File "testsIBTig/Zope3/src/zope/configuration/tests/backward.zcml", line 50.5-52.5
       <test:factory factory=".f">
          Fourth
       </test:factory>
Fourth
(('Complex', 1, 2), f)
(u'xxx', u'cc')
File "testsIBTig/Zope3/src/zope/configuration/tests/backward.zcml", line 48.2-53.2
    <test:testc a="ca" c="cc">
       Third
       <test:factory factory=".f">
          Fourth
       </test:factory>
    </test:testc>
Third
1 of 3 examples failed in string zope.configuration.tests.test_backward.test_directive_and_integration




Failure in test test_directive_and_integration_w_extra_arguments (zope.configuration.tests.test_backward)
Traceback (most recent call last):
  File "/tmp/autotestsIBTig/Zope3/src/zope/testing/doctestunit.py", line 72, in runTest
    raise self.failureException(
AssertionError: Failed doctest test for zope.configuration.tests.test_backward.test_directive_and_integration_w_extra_arguments
  File "/tmp/autotestsIBTig/Zope3/src/zope/configuration/tests/test_backward.py", line 102, in test_directive_and_integration_w_extra_arguments

Running string zope.configuration.tests.test_backward.test_directive_and_integration_w_extra_arguments
Trying: from zope.configuration import tests
Expecting: nothing
ok
Trying:
context = xmlconfig.file("backwardkwextra.zcml", tests, execute=False)
Expecting: nothing
ok
Trying:
for action in context.actions:
  print action[:2]
  print action[2]
  print clean_text_w_paths(unicode(action[5]))
Expecting:
(('k', u'f'), f)
(u'f', u'c', u'x', {'a': u'a', 'b': u'b'})
File "tests/backwardkwextra.zcml", line 14.2-14.51
    <test:k  for="f"  class="c"  x="x" a="a" b="b" />
*****************************************************************
Failure in example:
for action in context.actions:
  print action[:2]
  print action[2]
  print clean_text_w_paths(unicode(action[5]))
from line #4 of zope.configuration.tests.test_backward.test_directive_and_integration_w_extra_arguments
Expected:
(('k', u'f'), f)
(u'f', u'c', u'x', {'a': u'a', 'b': u'b'})
File "tests/backwardkwextra.zcml", line 14.2-14.51
    <test:k  for="f"  class="c"  x="x" a="a" b="b" />
Got:
(('k', u'f'), f)
(u'f', u'c', u'x', {'a': u'a', 'b': u'b'})
File "testsIBTig/Zope3/src/zope/configuration/tests/backwardkwextra.zcml", line 14.2-14.51
    <test:k  for="f"  class="c"  x="x" a="a" b="b" />
1 of 3 examples failed in string zope.configuration.tests.test_backward.test_directive_and_integration_w_extra_arguments




Failure in test test_directive_and_integration_w_python_keywords (zope.configuration.tests.test_backward)
Traceback (most recent call last):
  File "/tmp/autotestsIBTig/Zope3/src/zope/testing/doctestunit.py", line 72, in runTest
    raise self.failureException(
AssertionError: Failed doctest test for zope.configuration.tests.test_backward.test_directive_and_integration_w_python_keywords
  File "/tmp/autotestsIBTig/Zope3/src/zope/configuration/tests/test_backward.py", line 79, in test_directive_and_integration_w_python_keywords

Running string zope.configuration.tests.test_backward.test_directive_and_integration_w_python_keywords
Trying: from zope.configuration import tests
Expecting: nothing
ok
Trying: context = xmlconfig.file("backwardkw.zcml", tests, execute=False)
Expecting: nothing
ok
Trying:
for action in context.actions:
  print action[:2]
  print action[2]
  print clean_text_w_paths(unicode(action[5]))
  print action[5].text.strip()
Expecting:
(('k', u'f'), f)
(u'f', u'c', u'x')
File "tests/backwardkw.zcml", line 26.2-26.43
    <test:k  for="f"  class="c"  x="x" >first</test:k>
first
(('k', u'ff'), f)
(u'ff', u'cc', u'xx')
File "tests/backwardkw.zcml", line 27.2-27.44
    <test:k2 for="ff" class="cc" x="xx">second</test:k2>
second
*****************************************************************
Failure in example:
for action in context.actions:
  print action[:2]
  print action[2]
  print clean_text_w_paths(unicode(action[5]))
  print action[5].text.strip()
from line #4 of zope.configuration.tests.test_backward.test_directive_and_integration_w_python_keywords
Expected:
(('k', u'f'), f)
(u'f', u'c', u'x')
File "tests/backwardkw.zcml", line 26.2-26.43
    <test:k  for="f"  class="c"  x="x" >first</test:k>
first
(('k', u'ff'), f)
(u'ff', u'cc', u'xx')
File "tests/backwardkw.zcml", line 27.2-27.44
    <test:k2 for="ff" class="cc" x="xx">second</test:k2>
second
Got:
(('k', u'f'), f)
(u'f', u'c', u'x')
File "testsIBTig/Zope3/src/zope/configuration/tests/backwardkw.zcml", line 26.2-26.43
    <test:k  for="f"  class="c"  x="x" >first</test:k>
first
(('k', u'ff'), f)
(u'ff', u'cc', u'xx')
File "testsIBTig/Zope3/src/zope/configuration/tests/backwardkw.zcml", line 27.2-27.44
    <test:k2 for="ff" class="cc" x="xx">second</test:k2>
second
1 of 3 examples failed in string zope.configuration.tests.test_backward.test_directive_and_integration_w_python_keywords


.........................

Failure in test test_simple (zope.configuration.tests)
Traceback (most recent call last):
  File "/tmp/autotestsIBTig/Zope3/src/zope/testing/doctestunit.py", line 72, in runTest
    raise self.failureException(
AssertionError: Failed doctest test for zope.configuration.tests.test_simple
  File "/tmp/autotestsIBTig/Zope3/src/zope/configuration/tests/test_simple.py", line 1 (or below), in test_simple

Running string zope.configuration.tests.test_simple
Trying: from zope.configuration import tests
Expecting: nothing
ok
Trying: context = xmlconfig.file("simple.zcml", tests)
Expecting: nothing
ok
Trying:
from zope.configuration.tests.test_xmlconfig import clean_text_w_paths
Expecting: nothing
ok
Trying: from zope.configuration.tests.test_xmlconfig import clean_path
Expecting: nothing
ok
Trying:
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)
Expecting:
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 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: testsIBTig/Zope3/src/zope/configuration/tests/test_simple.py
title: How to create a simple directive
description: Describes how to implement a simple directive
info:
File "testsIBTig/Zope3/src/zope/configuration/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: testsIBTig/Zope3/src/zope/configuration/tests/simple.zcml
title:
description: Shows the ZCML directives needed to register a simple directive.
    Also show some usage examples,
info:
File "testsIBTig/Zope3/src/zope/configuration/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: testsIBTig/Zope3/src/zope/configuration/tests/__init__.py
title: Make this a package
description:
info:
File "testsIBTig/Zope3/src/zope/configuration/tests/simple.zcml", line 32.2-32.67
    <files:register path="__init__.py" title="Make this a package" />
Trying: del file_registry[:]
Expecting: nothing
ok
1 of 6 examples failed in string zope.configuration.tests.test_simple


.......

Failure in test test_XMLConfig (zope.configuration.tests.test_xmlconfig)
Traceback (most recent call last):
  File "/tmp/autotestsIBTig/Zope3/src/zope/testing/doctestunit.py", line 72, in runTest
    raise self.failureException(
AssertionError: Failed doctest test for zope.configuration.tests.test_xmlconfig.test_XMLConfig
  File "/tmp/autotestsIBTig/Zope3/src/zope/configuration/tests/test_xmlconfig.py", line 495, in test_XMLConfig

Running string zope.configuration.tests.test_xmlconfig.test_XMLConfig
Trying: here = os.path.split(__file__)[0]
Expecting: nothing
ok
Trying: path = os.path.join(here, "samplepackage", "baro.zcml")
Expecting: nothing
ok
Trying: x = xmlconfig.XMLConfig(path)
Expecting: nothing
ok
Trying: x()
Expecting: nothing
ok
Trying: len(foo.data)
Expecting: 3
ok
Trying: data = foo.data.pop(0)
Expecting: nothing
ok
Trying: data.args
Expecting: (('x', 'blah'), ('y', 0))
ok
Trying: print clean_info_path(`data.info`)
Expecting: File "tests/samplepackage/bar21.zcml", line 3.2-3.24
*****************************************************************
Failure in example: print clean_info_path(`data.info`)
from line #23 of zope.configuration.tests.test_xmlconfig.test_XMLConfig
Expected: File "tests/samplepackage/bar21.zcml", line 3.2-3.24
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar21.zcml", line 3.2-3.24
Trying: data = foo.data.pop(0)
Expecting: nothing
ok
Trying: data.args
Expecting: (('x', 'blah'), ('y', 2))
ok
Trying: print clean_info_path(`data.info`)
Expecting: File "tests/samplepackage/bar2.zcml", line 5.2-5.24
*****************************************************************
Failure in example: print clean_info_path(`data.info`)
from line #29 of zope.configuration.tests.test_xmlconfig.test_XMLConfig
Expected: File "tests/samplepackage/bar2.zcml", line 5.2-5.24
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar2.zcml", line 5.2-5.24
Trying: data = foo.data.pop(0)
Expecting: nothing
ok
Trying: data.args
Expecting: (('x', 'blah'), ('y', 1))
ok
Trying: print clean_info_path(`data.info`)
Expecting: File "tests/samplepackage/bar2.zcml", line 6.2-6.24
*****************************************************************
Failure in example: print clean_info_path(`data.info`)
from line #35 of zope.configuration.tests.test_xmlconfig.test_XMLConfig
Expected: File "tests/samplepackage/bar2.zcml", line 6.2-6.24
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar2.zcml", line 6.2-6.24
Trying: from zope.testing.cleanup import CleanUp
Expecting: nothing
ok
Trying: CleanUp().cleanUp()
Expecting: nothing
ok
3 of 16 examples failed in string zope.configuration.tests.test_xmlconfig.test_XMLConfig




Failure in test test_XMLConfig_w_module (zope.configuration.tests.test_xmlconfig)
Traceback (most recent call last):
  File "/tmp/autotestsIBTig/Zope3/src/zope/testing/doctestunit.py", line 72, in runTest
    raise self.failureException(
AssertionError: Failed doctest test for zope.configuration.tests.test_xmlconfig.test_XMLConfig_w_module
  File "/tmp/autotestsIBTig/Zope3/src/zope/configuration/tests/test_xmlconfig.py", line 540, in test_XMLConfig_w_module

Running string zope.configuration.tests.test_xmlconfig.test_XMLConfig_w_module
Trying: import zope.configuration.tests.samplepackage as module
Expecting: nothing
ok
Trying: x = xmlconfig.XMLConfig("baro.zcml", module)
Expecting: nothing
ok
Trying: x()
Expecting: nothing
ok
Trying: len(foo.data)
Expecting: 3
ok
Trying: data = foo.data.pop(0)
Expecting: nothing
ok
Trying: data.args
Expecting: (('x', 'blah'), ('y', 0))
ok
Trying: print clean_info_path(`data.info`)
Expecting: File "tests/samplepackage/bar21.zcml", line 3.2-3.24
*****************************************************************
Failure in example: print clean_info_path(`data.info`)
from line #22 of zope.configuration.tests.test_xmlconfig.test_XMLConfig_w_module
Expected: File "tests/samplepackage/bar21.zcml", line 3.2-3.24
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar21.zcml", line 3.2-3.24
Trying: data = foo.data.pop(0)
Expecting: nothing
ok
Trying: data.args
Expecting: (('x', 'blah'), ('y', 2))
ok
Trying: print clean_info_path(`data.info`)
Expecting: File "tests/samplepackage/bar2.zcml", line 5.2-5.24
*****************************************************************
Failure in example: print clean_info_path(`data.info`)
from line #28 of zope.configuration.tests.test_xmlconfig.test_XMLConfig_w_module
Expected: File "tests/samplepackage/bar2.zcml", line 5.2-5.24
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar2.zcml", line 5.2-5.24
Trying: data = foo.data.pop(0)
Expecting: nothing
ok
Trying: data.args
Expecting: (('x', 'blah'), ('y', 1))
ok
Trying: print clean_info_path(`data.info`)
Expecting: File "tests/samplepackage/bar2.zcml", line 6.2-6.24
*****************************************************************
Failure in example: print clean_info_path(`data.info`)
from line #34 of zope.configuration.tests.test_xmlconfig.test_XMLConfig_w_module
Expected: File "tests/samplepackage/bar2.zcml", line 6.2-6.24
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar2.zcml", line 6.2-6.24
Trying: from zope.testing.cleanup import CleanUp
Expecting: nothing
ok
Trying: CleanUp().cleanUp()
Expecting: nothing
ok
3 of 15 examples failed in string zope.configuration.tests.test_xmlconfig.test_XMLConfig_w_module




Failure in test test_file (zope.configuration.tests.test_xmlconfig)
Traceback (most recent call last):
  File "/tmp/autotestsIBTig/Zope3/src/zope/testing/doctestunit.py", line 72, in runTest
    raise self.failureException(
AssertionError: Failed doctest test for zope.configuration.tests.test_xmlconfig.test_file
  File "/tmp/autotestsIBTig/Zope3/src/zope/configuration/tests/test_xmlconfig.py", line 181, in test_file

Running string zope.configuration.tests.test_xmlconfig.test_file
Trying: file_name = path("samplepackage", "configure.zcml")
Expecting: nothing
ok
Trying: context = xmlconfig.file(file_name)
Expecting: nothing
ok
Trying: data = foo.data.pop()
Expecting: nothing
ok
Trying: data.args
Expecting: (('x', 'blah'), ('y', 0))
ok
Trying: print clean_info_path(`data.info`)
Expecting: File "tests/samplepackage/configure.zcml", line 12.2-12.29
*****************************************************************
Failure in example: print clean_info_path(`data.info`)
from line #10 of zope.configuration.tests.test_xmlconfig.test_file
Expected: File "tests/samplepackage/configure.zcml", line 12.2-12.29
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/configure.zcml", line 12.2-12.29
Trying: print clean_info_path(str(data.info))
Expecting:
File "tests/samplepackage/configure.zcml", line 12.2-12.29
    <test:foo x="blah" y="0" />
*****************************************************************
Failure in example: print clean_info_path(str(data.info))
from line #13 of zope.configuration.tests.test_xmlconfig.test_file
Expected:
File "tests/samplepackage/configure.zcml", line 12.2-12.29
    <test:foo x="blah" y="0" />
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/configure.zcml", line 12.2-12.29
    <test:foo x="blah" y="0" />
Trying: data.package
Expecting: nothing
ok
Trying: print clean_path(data.basepath)
Expecting: tests/samplepackage
*****************************************************************
Failure in example: print clean_path(data.basepath)
from line #18 of zope.configuration.tests.test_xmlconfig.test_file
Expected: tests/samplepackage
Got: testsIBTig/Zope3/src/zope/configuration/tests/samplepackage
3 of 8 examples failed in string zope.configuration.tests.test_xmlconfig.test_file




Failure in test test_includeOverrides (zope.configuration.tests.test_xmlconfig)
Traceback (most recent call last):
  File "/tmp/autotestsIBTig/Zope3/src/zope/testing/doctestunit.py", line 72, in runTest
    raise self.failureException(
AssertionError: Failed doctest test for zope.configuration.tests.test_xmlconfig.test_includeOverrides
  File "/tmp/autotestsIBTig/Zope3/src/zope/configuration/tests/test_xmlconfig.py", line 343, in test_includeOverrides

Running string zope.configuration.tests.test_xmlconfig.test_includeOverrides
Trying: context = config.ConfigurationMachine()
Expecting: nothing
ok
Trying: xmlconfig.registerCommonDirectives(context)
Expecting: nothing
ok
Trying: here = os.path.split(__file__)[0]
Expecting: nothing
ok
Trying: path = os.path.join(here, "samplepackage", "bar.zcml")
Expecting: nothing
ok
Trying: xmlconfig.include(context, path)
Expecting: nothing
ok
Trying: pprint=PrettyPrinter(width=70).pprint
Expecting: nothing
ok
Trying: pprint(clean_actions(context.actions))
Expecting:
[{'discriminator': (('x', 'blah'), ('y', 0)),
  'includepath': ['tests/samplepackage/bar.zcml',
                  'tests/samplepackage/bar1.zcml',
                  'tests/samplepackage/configure.zcml'],
  'info': 'File "tests/samplepackage/configure.zcml", line 12.2-12.29'},
 {'discriminator': (('x', 'blah'), ('y', 1)),
  'includepath': ['tests/samplepackage/bar.zcml',
                  'tests/samplepackage/bar1.zcml'],
  'info': 'File "tests/samplepackage/bar1.zcml", line 5.2-5.24'},
 {'discriminator': (('x', 'blah'), ('y', 0)),
  'includepath': ['tests/samplepackage/bar.zcml',
                  'tests/samplepackage/bar2.zcml',
                  'tests/samplepackage/bar21.zcml'],
  'info': 'File "tests/samplepackage/bar21.zcml", line 3.2-3.24'},
 {'discriminator': (('x', 'blah'), ('y', 2)),
  'includepath': ['tests/samplepackage/bar.zcml',
                  'tests/samplepackage/bar2.zcml',
                  'tests/samplepackage/bar21.zcml'],
  'info': 'File "tests/samplepackage/bar21.zcml", line 4.2-4.24'},
 {'discriminator': (('x', 'blah'), ('y', 2)),
  'includepath': ['tests/samplepackage/bar.zcml',
                  'tests/samplepackage/bar2.zcml'],
  'info': 'File "tests/samplepackage/bar2.zcml", line 5.2-5.24'},
 {'discriminator': (('x', 'blah'), ('y', 1)),
  'includepath': ['tests/samplepackage/bar.zcml',
                  'tests/samplepackage/bar2.zcml'],
  'info': 'File "tests/samplepackage/bar2.zcml", line 6.2-6.24'}]
*****************************************************************
Failure in example: pprint(clean_actions(context.actions))
from line #28 of zope.configuration.tests.test_xmlconfig.test_includeOverrides
Expected:
[{'discriminator': (('x', 'blah'), ('y', 0)),
  'includepath': ['tests/samplepackage/bar.zcml',
                  'tests/samplepackage/bar1.zcml',
                  'tests/samplepackage/configure.zcml'],
  'info': 'File "tests/samplepackage/configure.zcml", line 12.2-12.29'},
 {'discriminator': (('x', 'blah'), ('y', 1)),
  'includepath': ['tests/samplepackage/bar.zcml',
                  'tests/samplepackage/bar1.zcml'],
  'info': 'File "tests/samplepackage/bar1.zcml", line 5.2-5.24'},
 {'discriminator': (('x', 'blah'), ('y', 0)),
  'includepath': ['tests/samplepackage/bar.zcml',
                  'tests/samplepackage/bar2.zcml',
                  'tests/samplepackage/bar21.zcml'],
  'info': 'File "tests/samplepackage/bar21.zcml", line 3.2-3.24'},
 {'discriminator': (('x', 'blah'), ('y', 2)),
  'includepath': ['tests/samplepackage/bar.zcml',
                  'tests/samplepackage/bar2.zcml',
                  'tests/samplepackage/bar21.zcml'],
  'info': 'File "tests/samplepackage/bar21.zcml", line 4.2-4.24'},
 {'discriminator': (('x', 'blah'), ('y', 2)),
  'includepath': ['tests/samplepackage/bar.zcml',
                  'tests/samplepackage/bar2.zcml'],
  'info': 'File "tests/samplepackage/bar2.zcml", line 5.2-5.24'},
 {'discriminator': (('x', 'blah'), ('y', 1)),
  'includepath': ['tests/samplepackage/bar.zcml',
                  'tests/samplepackage/bar2.zcml'],
  'info': 'File "tests/samplepackage/bar2.zcml", line 6.2-6.24'}]
Got:
[{'discriminator': (('x', 'blah'), ('y', 0)),
  'includepath': ['testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar.zcml',
                  'testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar1.zcml',
                  'testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/configure.zcml'],
  'info': 'File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/configure.zcml", line 12.2-12.29'},
 {'discriminator': (('x', 'blah'), ('y', 1)),
  'includepath': ['testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar.zcml',
                  'testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar1.zcml'],
  'info': 'File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar1.zcml", line 5.2-5.24'},
 {'discriminator': (('x', 'blah'), ('y', 0)),
  'includepath': ['testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar.zcml',
                  'testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar2.zcml',
                  'testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar21.zcml'],
  'info': 'File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar21.zcml", line 3.2-3.24'},
 {'discriminator': (('x', 'blah'), ('y', 2)),
  'includepath': ['testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar.zcml',
                  'testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar2.zcml',
                  'testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar21.zcml'],
  'info': 'File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar21.zcml", line 4.2-4.24'},
 {'discriminator': (('x', 'blah'), ('y', 2)),
  'includepath': ['testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar.zcml',
                  'testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar2.zcml'],
  'info': 'File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar2.zcml", line 5.2-5.24'},
 {'discriminator': (('x', 'blah'), ('y', 1)),
  'includepath': ['testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar.zcml',
                  'testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar2.zcml'],
  'info': 'File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar2.zcml", line 6.2-6.24'}]
Trying:
try:
   v = context.execute_actions()
except config.ConfigurationConflictError, v:
   pass
Expecting: nothing
ok
Trying: print clean_text_w_paths(str(v))
Expecting:
Conflicting configuration actions
  For: (('x', 'blah'), ('y', 0))
    File "tests/samplepackage/configure.zcml", line 12.2-12.29
        <test:foo x="blah" y="0" />
    File "tests/samplepackage/bar21.zcml", line 3.2-3.24
        <foo x="blah" y="0" />
  For: (('x', 'blah'), ('y', 1))
    File "tests/samplepackage/bar1.zcml", line 5.2-5.24
        <foo x="blah" y="1" />
    File "tests/samplepackage/bar2.zcml", line 6.2-6.24
        <foo x="blah" y="1" />
*****************************************************************
Failure in example: print clean_text_w_paths(str(v))
from line #65 of zope.configuration.tests.test_xmlconfig.test_includeOverrides
Expected:
Conflicting configuration actions
  For: (('x', 'blah'), ('y', 0))
    File "tests/samplepackage/configure.zcml", line 12.2-12.29
        <test:foo x="blah" y="0" />
    File "tests/samplepackage/bar21.zcml", line 3.2-3.24
        <foo x="blah" y="0" />
  For: (('x', 'blah'), ('y', 1))
    File "tests/samplepackage/bar1.zcml", line 5.2-5.24
        <foo x="blah" y="1" />
    File "tests/samplepackage/bar2.zcml", line 6.2-6.24
        <foo x="blah" y="1" />
Got:
Conflicting configuration actions
  For: (('x', 'blah'), ('y', 0))
    File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/configure.zcml", line 12.2-12.29
        <test:foo x="blah" y="0" />
    File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar21.zcml", line 3.2-3.24
        <foo x="blah" y="0" />
  For: (('x', 'blah'), ('y', 1))
    File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar1.zcml", line 5.2-5.24
        <foo x="blah" y="1" />
    File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar2.zcml", line 6.2-6.24
        <foo x="blah" y="1" />
Trying: context = config.ConfigurationMachine()
Expecting: nothing
ok
Trying: xmlconfig.registerCommonDirectives(context)
Expecting: nothing
ok
Trying: path = os.path.join(here, "samplepackage", "baro.zcml")
Expecting: nothing
ok
Trying: xmlconfig.include(context, path)
Expecting: nothing
ok
Trying: pprint(clean_actions(context.actions))
Expecting:
[{'discriminator': (('x', 'blah'), ('y', 0)),
  'includepath': ['tests/samplepackage/baro.zcml',
                  'tests/samplepackage/bar1.zcml',
                  'tests/samplepackage/configure.zcml'],
  'info': 'File "tests/samplepackage/configure.zcml", line 12.2-12.29'},
 {'discriminator': (('x', 'blah'), ('y', 1)),
  'includepath': ['tests/samplepackage/baro.zcml',
                  'tests/samplepackage/bar1.zcml'],
  'info': 'File "tests/samplepackage/bar1.zcml", line 5.2-5.24'},
 {'discriminator': (('x', 'blah'), ('y', 0)),
  'includepath': ['tests/samplepackage/baro.zcml'],
  'info': 'File "tests/samplepackage/bar21.zcml", line 3.2-3.24'},
 {'discriminator': (('x', 'blah'), ('y', 2)),
  'includepath': ['tests/samplepackage/baro.zcml'],
  'info': 'File "tests/samplepackage/bar2.zcml", line 5.2-5.24'},
 {'discriminator': (('x', 'blah'), ('y', 1)),
  'includepath': ['tests/samplepackage/baro.zcml'],
  'info': 'File "tests/samplepackage/bar2.zcml", line 6.2-6.24'}]
*****************************************************************
Failure in example: pprint(clean_actions(context.actions))
from line #91 of zope.configuration.tests.test_xmlconfig.test_includeOverrides
Expected:
[{'discriminator': (('x', 'blah'), ('y', 0)),
  'includepath': ['tests/samplepackage/baro.zcml',
                  'tests/samplepackage/bar1.zcml',
                  'tests/samplepackage/configure.zcml'],
  'info': 'File "tests/samplepackage/configure.zcml", line 12.2-12.29'},
 {'discriminator': (('x', 'blah'), ('y', 1)),
  'includepath': ['tests/samplepackage/baro.zcml',
                  'tests/samplepackage/bar1.zcml'],
  'info': 'File "tests/samplepackage/bar1.zcml", line 5.2-5.24'},
 {'discriminator': (('x', 'blah'), ('y', 0)),
  'includepath': ['tests/samplepackage/baro.zcml'],
  'info': 'File "tests/samplepackage/bar21.zcml", line 3.2-3.24'},
 {'discriminator': (('x', 'blah'), ('y', 2)),
  'includepath': ['tests/samplepackage/baro.zcml'],
  'info': 'File "tests/samplepackage/bar2.zcml", line 5.2-5.24'},
 {'discriminator': (('x', 'blah'), ('y', 1)),
  'includepath': ['tests/samplepackage/baro.zcml'],
  'info': 'File "tests/samplepackage/bar2.zcml", line 6.2-6.24'}]
Got:
[{'discriminator': (('x', 'blah'), ('y', 0)),
  'includepath': ['testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/baro.zcml',
                  'testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar1.zcml',
                  'testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/configure.zcml'],
  'info': 'File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/configure.zcml", line 12.2-12.29'},
 {'discriminator': (('x', 'blah'), ('y', 1)),
  'includepath': ['testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/baro.zcml',
                  'testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar1.zcml'],
  'info': 'File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar1.zcml", line 5.2-5.24'},
 {'discriminator': (('x', 'blah'), ('y', 0)),
  'includepath': ['testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/baro.zcml'],
  'info': 'File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar21.zcml", line 3.2-3.24'},
 {'discriminator': (('x', 'blah'), ('y', 2)),
  'includepath': ['testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/baro.zcml'],
  'info': 'File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar2.zcml", line 5.2-5.24'},
 {'discriminator': (('x', 'blah'), ('y', 1)),
  'includepath': ['testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/baro.zcml'],
  'info': 'File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar2.zcml", line 6.2-6.24'}]
Trying: context.execute_actions()
Expecting: nothing
ok
Trying: len(foo.data)
Expecting: 3
ok
Trying: data = foo.data.pop(0)
Expecting: nothing
ok
Trying: data.args
Expecting: (('x', 'blah'), ('y', 0))
ok
Trying: print clean_info_path(`data.info`)
Expecting: File "tests/samplepackage/bar21.zcml", line 3.2-3.24
*****************************************************************
Failure in example: print clean_info_path(`data.info`)
from line #134 of zope.configuration.tests.test_xmlconfig.test_includeOverrides
Expected: File "tests/samplepackage/bar21.zcml", line 3.2-3.24
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar21.zcml", line 3.2-3.24
Trying: data = foo.data.pop(0)
Expecting: nothing
ok
Trying: data.args
Expecting: (('x', 'blah'), ('y', 2))
ok
Trying: print clean_info_path(`data.info`)
Expecting: File "tests/samplepackage/bar2.zcml", line 5.2-5.24
*****************************************************************
Failure in example: print clean_info_path(`data.info`)
from line #140 of zope.configuration.tests.test_xmlconfig.test_includeOverrides
Expected: File "tests/samplepackage/bar2.zcml", line 5.2-5.24
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar2.zcml", line 5.2-5.24
Trying: data = foo.data.pop(0)
Expecting: nothing
ok
Trying: data.args
Expecting: (('x', 'blah'), ('y', 1))
ok
Trying: print clean_info_path(`data.info`)
Expecting: File "tests/samplepackage/bar2.zcml", line 6.2-6.24
*****************************************************************
Failure in example: print clean_info_path(`data.info`)
from line #146 of zope.configuration.tests.test_xmlconfig.test_includeOverrides
Expected: File "tests/samplepackage/bar2.zcml", line 6.2-6.24
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar2.zcml", line 6.2-6.24
6 of 25 examples failed in string zope.configuration.tests.test_xmlconfig.test_includeOverrides




Failure in test test_include_by_file (zope.configuration.tests.test_xmlconfig)
Traceback (most recent call last):
  File "/tmp/autotestsIBTig/Zope3/src/zope/testing/doctestunit.py", line 72, in runTest
    raise self.failureException(
AssertionError: Failed doctest test for zope.configuration.tests.test_xmlconfig.test_include_by_file
  File "/tmp/autotestsIBTig/Zope3/src/zope/configuration/tests/test_xmlconfig.py", line 244, in test_include_by_file

Running string zope.configuration.tests.test_xmlconfig.test_include_by_file
Trying: context = config.ConfigurationMachine()
Expecting: nothing
ok
Trying: xmlconfig.registerCommonDirectives(context)
Expecting: nothing
ok
Trying: here = os.path.split(__file__)[0]
Expecting: nothing
ok
Trying: path = os.path.join(here, "samplepackage", "foo.zcml")
Expecting: nothing
ok
Trying: xmlconfig.include(context, path)
Expecting: nothing
ok
Trying: context.execute_actions()
Expecting: nothing
ok
Trying: data = foo.data.pop()
Expecting: nothing
ok
Trying: data.args
Expecting: (('x', 'foo'), ('y', 2))
ok
Trying: print clean_info_path(`data.info`)
Expecting: File "tests/samplepackage/foo.zcml.in", line 12.2-12.28
*****************************************************************
Failure in example: print clean_info_path(`data.info`)
from line #13 of zope.configuration.tests.test_xmlconfig.test_include_by_file
Expected: File "tests/samplepackage/foo.zcml.in", line 12.2-12.28
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/foo.zcml.in", line 12.2-12.28
Trying: print clean_info_path(str(data.info))
Expecting:
File "tests/samplepackage/foo.zcml.in", line 12.2-12.28
    <test:foo x="foo" y="2" />
*****************************************************************
Failure in example: print clean_info_path(str(data.info))
from line #16 of zope.configuration.tests.test_xmlconfig.test_include_by_file
Expected:
File "tests/samplepackage/foo.zcml.in", line 12.2-12.28
    <test:foo x="foo" y="2" />
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/foo.zcml.in", line 12.2-12.28
    <test:foo x="foo" y="2" />
Trying: data.package
Expecting: nothing
ok
Trying: data.basepath[-13:]
Expecting: 'samplepackage'
ok
Trying: [clean_path(p) for p in data.includepath]
Expecting: ['tests/samplepackage/foo.zcml.in']
*****************************************************************
Failure in example: [clean_path(p) for p in data.includepath]
from line #25 of zope.configuration.tests.test_xmlconfig.test_include_by_file
Expected: ['tests/samplepackage/foo.zcml.in']
Got:
['testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/foo.zcml.in']
3 of 13 examples failed in string zope.configuration.tests.test_xmlconfig.test_include_by_file




Failure in test test_include_by_file_glob (zope.configuration.tests.test_xmlconfig)
Traceback (most recent call last):
  File "/tmp/autotestsIBTig/Zope3/src/zope/testing/doctestunit.py", line 72, in runTest
    raise self.failureException(
AssertionError: Failed doctest test for zope.configuration.tests.test_xmlconfig.test_include_by_file_glob
  File "/tmp/autotestsIBTig/Zope3/src/zope/configuration/tests/test_xmlconfig.py", line 274, in test_include_by_file_glob

Running string zope.configuration.tests.test_xmlconfig.test_include_by_file_glob
Trying: context = config.ConfigurationMachine()
Expecting: nothing
ok
Trying: xmlconfig.registerCommonDirectives(context)
Expecting: nothing
ok
Trying: here = os.path.split(__file__)[0]
Expecting: nothing
ok
Trying: path = os.path.join(here, "samplepackage/baz*.zcml")
Expecting: nothing
ok
Trying: xmlconfig.include(context, files=path)
Expecting: nothing
ok
Trying: context.execute_actions()
Expecting: nothing
ok
Trying: data = foo.data.pop()
Expecting: nothing
ok
Trying: data.args
Expecting: (('x', 'foo'), ('y', 3))
ok
Trying: print clean_info_path(`data.info`)
Expecting: File "tests/samplepackage/baz3.zcml", line 5.2-5.28
*****************************************************************
Failure in example: print clean_info_path(`data.info`)
from line #12 of zope.configuration.tests.test_xmlconfig.test_include_by_file_glob
Expected: File "tests/samplepackage/baz3.zcml", line 5.2-5.28
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/baz3.zcml", line 5.2-5.28
Trying: print clean_info_path(str(data.info))
Expecting:
File "tests/samplepackage/baz3.zcml", line 5.2-5.28
    <test:foo x="foo" y="3" />
*****************************************************************
Failure in example: print clean_info_path(str(data.info))
from line #15 of zope.configuration.tests.test_xmlconfig.test_include_by_file_glob
Expected:
File "tests/samplepackage/baz3.zcml", line 5.2-5.28
    <test:foo x="foo" y="3" />
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/baz3.zcml", line 5.2-5.28
    <test:foo x="foo" y="3" />
Trying: data.package
Expecting: nothing
ok
Trying: data.basepath[-13:]
Expecting: 'samplepackage'
ok
Trying: [clean_path(p) for p in data.includepath]
Expecting: ['tests/samplepackage/baz3.zcml']
*****************************************************************
Failure in example: [clean_path(p) for p in data.includepath]
from line #24 of zope.configuration.tests.test_xmlconfig.test_include_by_file_glob
Expected: ['tests/samplepackage/baz3.zcml']
Got:
['testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/baz3.zcml']
Trying: data = foo.data.pop()
Expecting: nothing
ok
Trying: data.args
Expecting: (('x', 'foo'), ('y', 2))
ok
Trying: print clean_info_path(`data.info`)
Expecting: File "tests/samplepackage/baz2.zcml", line 5.2-5.28
*****************************************************************
Failure in example: print clean_info_path(`data.info`)
from line #31 of zope.configuration.tests.test_xmlconfig.test_include_by_file_glob
Expected: File "tests/samplepackage/baz2.zcml", line 5.2-5.28
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/baz2.zcml", line 5.2-5.28
Trying: print clean_info_path(str(data.info))
Expecting:
File "tests/samplepackage/baz2.zcml", line 5.2-5.28
    <test:foo x="foo" y="2" />
*****************************************************************
Failure in example: print clean_info_path(str(data.info))
from line #34 of zope.configuration.tests.test_xmlconfig.test_include_by_file_glob
Expected:
File "tests/samplepackage/baz2.zcml", line 5.2-5.28
    <test:foo x="foo" y="2" />
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/baz2.zcml", line 5.2-5.28
    <test:foo x="foo" y="2" />
Trying: data.package
Expecting: nothing
ok
Trying: data.basepath[-13:]
Expecting: 'samplepackage'
ok
Trying: [clean_path(p) for p in data.includepath]
Expecting: ['tests/samplepackage/baz2.zcml']
*****************************************************************
Failure in example: [clean_path(p) for p in data.includepath]
from line #43 of zope.configuration.tests.test_xmlconfig.test_include_by_file_glob
Expected: ['tests/samplepackage/baz2.zcml']
Got:
['testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/baz2.zcml']
6 of 20 examples failed in string zope.configuration.tests.test_xmlconfig.test_include_by_file_glob




Failure in test test_include_by_package (zope.configuration.tests.test_xmlconfig)
Traceback (most recent call last):
  File "/tmp/autotestsIBTig/Zope3/src/zope/testing/doctestunit.py", line 72, in runTest
    raise self.failureException(
AssertionError: Failed doctest test for zope.configuration.tests.test_xmlconfig.test_include_by_package
  File "/tmp/autotestsIBTig/Zope3/src/zope/configuration/tests/test_xmlconfig.py", line 204, in test_include_by_package

Running string zope.configuration.tests.test_xmlconfig.test_include_by_package
Trying: context = config.ConfigurationMachine()
Expecting: nothing
ok
Trying: xmlconfig.registerCommonDirectives(context)
Expecting: nothing
ok
Trying: import zope.configuration.tests.samplepackage as package
Expecting: nothing
ok
Trying: xmlconfig.include(context, 'configure.zcml', package)
Expecting: nothing
ok
Trying: context.execute_actions()
Expecting: nothing
ok
Trying: data = foo.data.pop()
Expecting: nothing
ok
Trying: data.args
Expecting: (('x', 'blah'), ('y', 0))
ok
Trying: print clean_info_path(`data.info`)
Expecting: File "tests/samplepackage/configure.zcml", line 12.2-12.29
*****************************************************************
Failure in example: print clean_info_path(`data.info`)
from line #12 of zope.configuration.tests.test_xmlconfig.test_include_by_package
Expected: File "tests/samplepackage/configure.zcml", line 12.2-12.29
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/configure.zcml", line 12.2-12.29
Trying: print clean_info_path(str(data.info))
Expecting:
File "tests/samplepackage/configure.zcml", line 12.2-12.29
    <test:foo x="blah" y="0" />
*****************************************************************
Failure in example: print clean_info_path(str(data.info))
from line #15 of zope.configuration.tests.test_xmlconfig.test_include_by_package
Expected:
File "tests/samplepackage/configure.zcml", line 12.2-12.29
    <test:foo x="blah" y="0" />
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/configure.zcml", line 12.2-12.29
    <test:foo x="blah" y="0" />
Trying: data.package is package
Expecting: 1
ok
Trying: data.basepath[-13:]
Expecting: 'samplepackage'
ok
Trying: [clean_path(p) for p in data.includepath]
Expecting: ['tests/samplepackage/configure.zcml']
*****************************************************************
Failure in example: [clean_path(p) for p in data.includepath]
from line #25 of zope.configuration.tests.test_xmlconfig.test_include_by_package
Expected: ['tests/samplepackage/configure.zcml']
Got:
['testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/configure.zcml']
Trying:
try:
  xmlconfig.include(context, 'configure.zcml', package)
except xmlconfig.ConfigurationError, e:
  'OK'
Expecting: 'OK'
ok
3 of 13 examples failed in string zope.configuration.tests.test_xmlconfig.test_include_by_package




Failure in test test_processxmlfile (zope.configuration.tests.test_xmlconfig)
Traceback (most recent call last):
  File "/tmp/autotestsIBTig/Zope3/src/zope/testing/doctestunit.py", line 72, in runTest
    raise self.failureException(
AssertionError: Failed doctest test for zope.configuration.tests.test_xmlconfig.test_processxmlfile
  File "/tmp/autotestsIBTig/Zope3/src/zope/configuration/tests/test_xmlconfig.py", line 152, in test_processxmlfile

Running string zope.configuration.tests.test_xmlconfig.test_processxmlfile
Trying: file = open(path("samplepackage", "configure.zcml"))
Expecting: nothing
ok
Trying: context = config.ConfigurationMachine()
Expecting: nothing
ok
Trying: xmlconfig.registerCommonDirectives(context)
Expecting: nothing
ok
Trying: xmlconfig.processxmlfile(file, context)
Expecting: nothing
ok
Trying: foo.data
Expecting: []
ok
Trying: context.execute_actions()
Expecting: nothing
ok
Trying: data = foo.data.pop()
Expecting: nothing
ok
Trying: data.args
Expecting: (('x', 'blah'), ('y', 0))
ok
Trying: print clean_info_path(`data.info`)
Expecting: File "tests/samplepackage/configure.zcml", line 12.2-12.29
*****************************************************************
Failure in example: print clean_info_path(`data.info`)
from line #17 of zope.configuration.tests.test_xmlconfig.test_processxmlfile
Expected: File "tests/samplepackage/configure.zcml", line 12.2-12.29
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/configure.zcml", line 12.2-12.29
Trying: print clean_info_path(str(data.info))
Expecting:
File "tests/samplepackage/configure.zcml", line 12.2-12.29
    <test:foo x="blah" y="0" />
*****************************************************************
Failure in example: print clean_info_path(str(data.info))
from line #20 of zope.configuration.tests.test_xmlconfig.test_processxmlfile
Expected:
File "tests/samplepackage/configure.zcml", line 12.2-12.29
    <test:foo x="blah" y="0" />
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/configure.zcml", line 12.2-12.29
    <test:foo x="blah" y="0" />
Trying: data.package
Expecting: nothing
ok
Trying: data.basepath
Expecting: nothing
ok
2 of 12 examples failed in string zope.configuration.tests.test_xmlconfig.test_processxmlfile


.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................!
......................................................................................................................................................................................................................................................................................................
======================================================================
FAIL: test_directive_and_integration (zope.configuration.tests.test_backward)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autotestsIBTig/Zope3/src/zope/testing/doctestunit.py", line 72, in runTest
    raise self.failureException(
AssertionError: Failed doctest test for zope.configuration.tests.test_backward.test_directive_and_integration
  File "/tmp/autotestsIBTig/Zope3/src/zope/configuration/tests/test_backward.py", line 24, in test_directive_and_integration

Running string zope.configuration.tests.test_backward.test_directive_and_integration
Trying: from zope.configuration import tests
Expecting: nothing
ok
Trying: context = xmlconfig.file("backward.zcml", tests, execute=False)
Expecting: nothing
ok
Trying:
for action in context.actions:
  print action[:2]
  print action[2]
  print clean_text_w_paths(unicode(action[5]))
  if action[5].text.strip():
     print action[5].text.strip()
Expecting:
(('simple', u'aa', u'xxx', u'cc'), f)
(u'aa', u'xxx', u'cc')
File "tests/backward.zcml", line 26.2-26.34
    <test:simple a="aa" c="cc">first</test:simple>
first
(('newsimple', u'naa', u'nbb', u'ncc'), f)
(u'naa', u'nbb', u'ncc')
File "tests/backward.zcml", line 27.2-27.48
    <test:newsimple a="naa" c="ncc" b="nbb">second</test:newsimple>
second
('Complex.__init__', None)
()
File "tests/backward.zcml", line 48.2-53.2
    <test:testc a="ca" c="cc">
       Third
       <test:factory factory=".f">
          Fourth
       </test:factory>
    </test:testc>
Third
(('Complex.factory', 1, 2), u'.f')
(u'ca',)
File "tests/backward.zcml", line 50.5-52.5
       <test:factory factory=".f">
          Fourth
       </test:factory>
Fourth
(('Complex', 1, 2), f)
(u'xxx', u'cc')
File "tests/backward.zcml", line 48.2-53.2
    <test:testc a="ca" c="cc">
       Third
       <test:factory factory=".f">
          Fourth
       </test:factory>
    </test:testc>
Third
*****************************************************************
Failure in example:
for action in context.actions:
  print action[:2]
  print action[2]
  print clean_text_w_paths(unicode(action[5]))
  if action[5].text.strip():
     print action[5].text.strip()
from line #8 of zope.configuration.tests.test_backward.test_directive_and_integration
Expected:
(('simple', u'aa', u'xxx', u'cc'), f)
(u'aa', u'xxx', u'cc')
File "tests/backward.zcml", line 26.2-26.34
    <test:simple a="aa" c="cc">first</test:simple>
first
(('newsimple', u'naa', u'nbb', u'ncc'), f)
(u'naa', u'nbb', u'ncc')
File "tests/backward.zcml", line 27.2-27.48
    <test:newsimple a="naa" c="ncc" b="nbb">second</test:newsimple>
second
('Complex.__init__', None)
()
File "tests/backward.zcml", line 48.2-53.2
    <test:testc a="ca" c="cc">
       Third
       <test:factory factory=".f">
          Fourth
       </test:factory>
    </test:testc>
Third
(('Complex.factory', 1, 2), u'.f')
(u'ca',)
File "tests/backward.zcml", line 50.5-52.5
       <test:factory factory=".f">
          Fourth
       </test:factory>
Fourth
(('Complex', 1, 2), f)
(u'xxx', u'cc')
File "tests/backward.zcml", line 48.2-53.2
    <test:testc a="ca" c="cc">
       Third
       <test:factory factory=".f">
          Fourth
       </test:factory>
    </test:testc>
Third
Got:
(('simple', u'aa', u'xxx', u'cc'), f)
(u'aa', u'xxx', u'cc')
File "testsIBTig/Zope3/src/zope/configuration/tests/backward.zcml", line 26.2-26.34
    <test:simple a="aa" c="cc">first</test:simple>
first
(('newsimple', u'naa', u'nbb', u'ncc'), f)
(u'naa', u'nbb', u'ncc')
File "testsIBTig/Zope3/src/zope/configuration/tests/backward.zcml", line 27.2-27.48
    <test:newsimple a="naa" c="ncc" b="nbb">second</test:newsimple>
second
('Complex.__init__', None)
()
File "testsIBTig/Zope3/src/zope/configuration/tests/backward.zcml", line 48.2-53.2
    <test:testc a="ca" c="cc">
       Third
       <test:factory factory=".f">
          Fourth
       </test:factory>
    </test:testc>
Third
(('Complex.factory', 1, 2), u'.f')
(u'ca',)
File "testsIBTig/Zope3/src/zope/configuration/tests/backward.zcml", line 50.5-52.5
       <test:factory factory=".f">
          Fourth
       </test:factory>
Fourth
(('Complex', 1, 2), f)
(u'xxx', u'cc')
File "testsIBTig/Zope3/src/zope/configuration/tests/backward.zcml", line 48.2-53.2
    <test:testc a="ca" c="cc">
       Third
       <test:factory factory=".f">
          Fourth
       </test:factory>
    </test:testc>
Third
1 of 3 examples failed in string zope.configuration.tests.test_backward.test_directive_and_integration


======================================================================
FAIL: test_directive_and_integration_w_extra_arguments (zope.configuration.tests.test_backward)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autotestsIBTig/Zope3/src/zope/testing/doctestunit.py", line 72, in runTest
    raise self.failureException(
AssertionError: Failed doctest test for zope.configuration.tests.test_backward.test_directive_and_integration_w_extra_arguments
  File "/tmp/autotestsIBTig/Zope3/src/zope/configuration/tests/test_backward.py", line 102, in test_directive_and_integration_w_extra_arguments

Running string zope.configuration.tests.test_backward.test_directive_and_integration_w_extra_arguments
Trying: from zope.configuration import tests
Expecting: nothing
ok
Trying:
context = xmlconfig.file("backwardkwextra.zcml", tests, execute=False)
Expecting: nothing
ok
Trying:
for action in context.actions:
  print action[:2]
  print action[2]
  print clean_text_w_paths(unicode(action[5]))
Expecting:
(('k', u'f'), f)
(u'f', u'c', u'x', {'a': u'a', 'b': u'b'})
File "tests/backwardkwextra.zcml", line 14.2-14.51
    <test:k  for="f"  class="c"  x="x" a="a" b="b" />
*****************************************************************
Failure in example:
for action in context.actions:
  print action[:2]
  print action[2]
  print clean_text_w_paths(unicode(action[5]))
from line #4 of zope.configuration.tests.test_backward.test_directive_and_integration_w_extra_arguments
Expected:
(('k', u'f'), f)
(u'f', u'c', u'x', {'a': u'a', 'b': u'b'})
File "tests/backwardkwextra.zcml", line 14.2-14.51
    <test:k  for="f"  class="c"  x="x" a="a" b="b" />
Got:
(('k', u'f'), f)
(u'f', u'c', u'x', {'a': u'a', 'b': u'b'})
File "testsIBTig/Zope3/src/zope/configuration/tests/backwardkwextra.zcml", line 14.2-14.51
    <test:k  for="f"  class="c"  x="x" a="a" b="b" />
1 of 3 examples failed in string zope.configuration.tests.test_backward.test_directive_and_integration_w_extra_arguments


======================================================================
FAIL: test_directive_and_integration_w_python_keywords (zope.configuration.tests.test_backward)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autotestsIBTig/Zope3/src/zope/testing/doctestunit.py", line 72, in runTest
    raise self.failureException(
AssertionError: Failed doctest test for zope.configuration.tests.test_backward.test_directive_and_integration_w_python_keywords
  File "/tmp/autotestsIBTig/Zope3/src/zope/configuration/tests/test_backward.py", line 79, in test_directive_and_integration_w_python_keywords

Running string zope.configuration.tests.test_backward.test_directive_and_integration_w_python_keywords
Trying: from zope.configuration import tests
Expecting: nothing
ok
Trying: context = xmlconfig.file("backwardkw.zcml", tests, execute=False)
Expecting: nothing
ok
Trying:
for action in context.actions:
  print action[:2]
  print action[2]
  print clean_text_w_paths(unicode(action[5]))
  print action[5].text.strip()
Expecting:
(('k', u'f'), f)
(u'f', u'c', u'x')
File "tests/backwardkw.zcml", line 26.2-26.43
    <test:k  for="f"  class="c"  x="x" >first</test:k>
first
(('k', u'ff'), f)
(u'ff', u'cc', u'xx')
File "tests/backwardkw.zcml", line 27.2-27.44
    <test:k2 for="ff" class="cc" x="xx">second</test:k2>
second
*****************************************************************
Failure in example:
for action in context.actions:
  print action[:2]
  print action[2]
  print clean_text_w_paths(unicode(action[5]))
  print action[5].text.strip()
from line #4 of zope.configuration.tests.test_backward.test_directive_and_integration_w_python_keywords
Expected:
(('k', u'f'), f)
(u'f', u'c', u'x')
File "tests/backwardkw.zcml", line 26.2-26.43
    <test:k  for="f"  class="c"  x="x" >first</test:k>
first
(('k', u'ff'), f)
(u'ff', u'cc', u'xx')
File "tests/backwardkw.zcml", line 27.2-27.44
    <test:k2 for="ff" class="cc" x="xx">second</test:k2>
second
Got:
(('k', u'f'), f)
(u'f', u'c', u'x')
File "testsIBTig/Zope3/src/zope/configuration/tests/backwardkw.zcml", line 26.2-26.43
    <test:k  for="f"  class="c"  x="x" >first</test:k>
first
(('k', u'ff'), f)
(u'ff', u'cc', u'xx')
File "testsIBTig/Zope3/src/zope/configuration/tests/backwardkw.zcml", line 27.2-27.44
    <test:k2 for="ff" class="cc" x="xx">second</test:k2>
second
1 of 3 examples failed in string zope.configuration.tests.test_backward.test_directive_and_integration_w_python_keywords


======================================================================
FAIL: test_simple (zope.configuration.tests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autotestsIBTig/Zope3/src/zope/testing/doctestunit.py", line 72, in runTest
    raise self.failureException(
AssertionError: Failed doctest test for zope.configuration.tests.test_simple
  File "/tmp/autotestsIBTig/Zope3/src/zope/configuration/tests/test_simple.py", line 1 (or below), in test_simple

Running string zope.configuration.tests.test_simple
Trying: from zope.configuration import tests
Expecting: nothing
ok
Trying: context = xmlconfig.file("simple.zcml", tests)
Expecting: nothing
ok
Trying:
from zope.configuration.tests.test_xmlconfig import clean_text_w_paths
Expecting: nothing
ok
Trying: from zope.configuration.tests.test_xmlconfig import clean_path
Expecting: nothing
ok
Trying:
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)
Expecting:
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 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: testsIBTig/Zope3/src/zope/configuration/tests/test_simple.py
title: How to create a simple directive
description: Describes how to implement a simple directive
info:
File "testsIBTig/Zope3/src/zope/configuration/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: testsIBTig/Zope3/src/zope/configuration/tests/simple.zcml
title:
description: Shows the ZCML directives needed to register a simple directive.
    Also show some usage examples,
info:
File "testsIBTig/Zope3/src/zope/configuration/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: testsIBTig/Zope3/src/zope/configuration/tests/__init__.py
title: Make this a package
description:
info:
File "testsIBTig/Zope3/src/zope/configuration/tests/simple.zcml", line 32.2-32.67
    <files:register path="__init__.py" title="Make this a package" />
Trying: del file_registry[:]
Expecting: nothing
ok
1 of 6 examples failed in string zope.configuration.tests.test_simple


======================================================================
FAIL: test_XMLConfig (zope.configuration.tests.test_xmlconfig)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autotestsIBTig/Zope3/src/zope/testing/doctestunit.py", line 72, in runTest
    raise self.failureException(
AssertionError: Failed doctest test for zope.configuration.tests.test_xmlconfig.test_XMLConfig
  File "/tmp/autotestsIBTig/Zope3/src/zope/configuration/tests/test_xmlconfig.py", line 495, in test_XMLConfig

Running string zope.configuration.tests.test_xmlconfig.test_XMLConfig
Trying: here = os.path.split(__file__)[0]
Expecting: nothing
ok
Trying: path = os.path.join(here, "samplepackage", "baro.zcml")
Expecting: nothing
ok
Trying: x = xmlconfig.XMLConfig(path)
Expecting: nothing
ok
Trying: x()
Expecting: nothing
ok
Trying: len(foo.data)
Expecting: 3
ok
Trying: data = foo.data.pop(0)
Expecting: nothing
ok
Trying: data.args
Expecting: (('x', 'blah'), ('y', 0))
ok
Trying: print clean_info_path(`data.info`)
Expecting: File "tests/samplepackage/bar21.zcml", line 3.2-3.24
*****************************************************************
Failure in example: print clean_info_path(`data.info`)
from line #23 of zope.configuration.tests.test_xmlconfig.test_XMLConfig
Expected: File "tests/samplepackage/bar21.zcml", line 3.2-3.24
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar21.zcml", line 3.2-3.24
Trying: data = foo.data.pop(0)
Expecting: nothing
ok
Trying: data.args
Expecting: (('x', 'blah'), ('y', 2))
ok
Trying: print clean_info_path(`data.info`)
Expecting: File "tests/samplepackage/bar2.zcml", line 5.2-5.24
*****************************************************************
Failure in example: print clean_info_path(`data.info`)
from line #29 of zope.configuration.tests.test_xmlconfig.test_XMLConfig
Expected: File "tests/samplepackage/bar2.zcml", line 5.2-5.24
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar2.zcml", line 5.2-5.24
Trying: data = foo.data.pop(0)
Expecting: nothing
ok
Trying: data.args
Expecting: (('x', 'blah'), ('y', 1))
ok
Trying: print clean_info_path(`data.info`)
Expecting: File "tests/samplepackage/bar2.zcml", line 6.2-6.24
*****************************************************************
Failure in example: print clean_info_path(`data.info`)
from line #35 of zope.configuration.tests.test_xmlconfig.test_XMLConfig
Expected: File "tests/samplepackage/bar2.zcml", line 6.2-6.24
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar2.zcml", line 6.2-6.24
Trying: from zope.testing.cleanup import CleanUp
Expecting: nothing
ok
Trying: CleanUp().cleanUp()
Expecting: nothing
ok
3 of 16 examples failed in string zope.configuration.tests.test_xmlconfig.test_XMLConfig


======================================================================
FAIL: test_XMLConfig_w_module (zope.configuration.tests.test_xmlconfig)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autotestsIBTig/Zope3/src/zope/testing/doctestunit.py", line 72, in runTest
    raise self.failureException(
AssertionError: Failed doctest test for zope.configuration.tests.test_xmlconfig.test_XMLConfig_w_module
  File "/tmp/autotestsIBTig/Zope3/src/zope/configuration/tests/test_xmlconfig.py", line 540, in test_XMLConfig_w_module

Running string zope.configuration.tests.test_xmlconfig.test_XMLConfig_w_module
Trying: import zope.configuration.tests.samplepackage as module
Expecting: nothing
ok
Trying: x = xmlconfig.XMLConfig("baro.zcml", module)
Expecting: nothing
ok
Trying: x()
Expecting: nothing
ok
Trying: len(foo.data)
Expecting: 3
ok
Trying: data = foo.data.pop(0)
Expecting: nothing
ok
Trying: data.args
Expecting: (('x', 'blah'), ('y', 0))
ok
Trying: print clean_info_path(`data.info`)
Expecting: File "tests/samplepackage/bar21.zcml", line 3.2-3.24
*****************************************************************
Failure in example: print clean_info_path(`data.info`)
from line #22 of zope.configuration.tests.test_xmlconfig.test_XMLConfig_w_module
Expected: File "tests/samplepackage/bar21.zcml", line 3.2-3.24
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar21.zcml", line 3.2-3.24
Trying: data = foo.data.pop(0)
Expecting: nothing
ok
Trying: data.args
Expecting: (('x', 'blah'), ('y', 2))
ok
Trying: print clean_info_path(`data.info`)
Expecting: File "tests/samplepackage/bar2.zcml", line 5.2-5.24
*****************************************************************
Failure in example: print clean_info_path(`data.info`)
from line #28 of zope.configuration.tests.test_xmlconfig.test_XMLConfig_w_module
Expected: File "tests/samplepackage/bar2.zcml", line 5.2-5.24
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar2.zcml", line 5.2-5.24
Trying: data = foo.data.pop(0)
Expecting: nothing
ok
Trying: data.args
Expecting: (('x', 'blah'), ('y', 1))
ok
Trying: print clean_info_path(`data.info`)
Expecting: File "tests/samplepackage/bar2.zcml", line 6.2-6.24
*****************************************************************
Failure in example: print clean_info_path(`data.info`)
from line #34 of zope.configuration.tests.test_xmlconfig.test_XMLConfig_w_module
Expected: File "tests/samplepackage/bar2.zcml", line 6.2-6.24
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar2.zcml", line 6.2-6.24
Trying: from zope.testing.cleanup import CleanUp
Expecting: nothing
ok
Trying: CleanUp().cleanUp()
Expecting: nothing
ok
3 of 15 examples failed in string zope.configuration.tests.test_xmlconfig.test_XMLConfig_w_module


======================================================================
FAIL: test_file (zope.configuration.tests.test_xmlconfig)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autotestsIBTig/Zope3/src/zope/testing/doctestunit.py", line 72, in runTest
    raise self.failureException(
AssertionError: Failed doctest test for zope.configuration.tests.test_xmlconfig.test_file
  File "/tmp/autotestsIBTig/Zope3/src/zope/configuration/tests/test_xmlconfig.py", line 181, in test_file

Running string zope.configuration.tests.test_xmlconfig.test_file
Trying: file_name = path("samplepackage", "configure.zcml")
Expecting: nothing
ok
Trying: context = xmlconfig.file(file_name)
Expecting: nothing
ok
Trying: data = foo.data.pop()
Expecting: nothing
ok
Trying: data.args
Expecting: (('x', 'blah'), ('y', 0))
ok
Trying: print clean_info_path(`data.info`)
Expecting: File "tests/samplepackage/configure.zcml", line 12.2-12.29
*****************************************************************
Failure in example: print clean_info_path(`data.info`)
from line #10 of zope.configuration.tests.test_xmlconfig.test_file
Expected: File "tests/samplepackage/configure.zcml", line 12.2-12.29
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/configure.zcml", line 12.2-12.29
Trying: print clean_info_path(str(data.info))
Expecting:
File "tests/samplepackage/configure.zcml", line 12.2-12.29
    <test:foo x="blah" y="0" />
*****************************************************************
Failure in example: print clean_info_path(str(data.info))
from line #13 of zope.configuration.tests.test_xmlconfig.test_file
Expected:
File "tests/samplepackage/configure.zcml", line 12.2-12.29
    <test:foo x="blah" y="0" />
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/configure.zcml", line 12.2-12.29
    <test:foo x="blah" y="0" />
Trying: data.package
Expecting: nothing
ok
Trying: print clean_path(data.basepath)
Expecting: tests/samplepackage
*****************************************************************
Failure in example: print clean_path(data.basepath)
from line #18 of zope.configuration.tests.test_xmlconfig.test_file
Expected: tests/samplepackage
Got: testsIBTig/Zope3/src/zope/configuration/tests/samplepackage
3 of 8 examples failed in string zope.configuration.tests.test_xmlconfig.test_file


======================================================================
FAIL: test_includeOverrides (zope.configuration.tests.test_xmlconfig)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autotestsIBTig/Zope3/src/zope/testing/doctestunit.py", line 72, in runTest
    raise self.failureException(
AssertionError: Failed doctest test for zope.configuration.tests.test_xmlconfig.test_includeOverrides
  File "/tmp/autotestsIBTig/Zope3/src/zope/configuration/tests/test_xmlconfig.py", line 343, in test_includeOverrides

Running string zope.configuration.tests.test_xmlconfig.test_includeOverrides
Trying: context = config.ConfigurationMachine()
Expecting: nothing
ok
Trying: xmlconfig.registerCommonDirectives(context)
Expecting: nothing
ok
Trying: here = os.path.split(__file__)[0]
Expecting: nothing
ok
Trying: path = os.path.join(here, "samplepackage", "bar.zcml")
Expecting: nothing
ok
Trying: xmlconfig.include(context, path)
Expecting: nothing
ok
Trying: pprint=PrettyPrinter(width=70).pprint
Expecting: nothing
ok
Trying: pprint(clean_actions(context.actions))
Expecting:
[{'discriminator': (('x', 'blah'), ('y', 0)),
  'includepath': ['tests/samplepackage/bar.zcml',
                  'tests/samplepackage/bar1.zcml',
                  'tests/samplepackage/configure.zcml'],
  'info': 'File "tests/samplepackage/configure.zcml", line 12.2-12.29'},
 {'discriminator': (('x', 'blah'), ('y', 1)),
  'includepath': ['tests/samplepackage/bar.zcml',
                  'tests/samplepackage/bar1.zcml'],
  'info': 'File "tests/samplepackage/bar1.zcml", line 5.2-5.24'},
 {'discriminator': (('x', 'blah'), ('y', 0)),
  'includepath': ['tests/samplepackage/bar.zcml',
                  'tests/samplepackage/bar2.zcml',
                  'tests/samplepackage/bar21.zcml'],
  'info': 'File "tests/samplepackage/bar21.zcml", line 3.2-3.24'},
 {'discriminator': (('x', 'blah'), ('y', 2)),
  'includepath': ['tests/samplepackage/bar.zcml',
                  'tests/samplepackage/bar2.zcml',
                  'tests/samplepackage/bar21.zcml'],
  'info': 'File "tests/samplepackage/bar21.zcml", line 4.2-4.24'},
 {'discriminator': (('x', 'blah'), ('y', 2)),
  'includepath': ['tests/samplepackage/bar.zcml',
                  'tests/samplepackage/bar2.zcml'],
  'info': 'File "tests/samplepackage/bar2.zcml", line 5.2-5.24'},
 {'discriminator': (('x', 'blah'), ('y', 1)),
  'includepath': ['tests/samplepackage/bar.zcml',
                  'tests/samplepackage/bar2.zcml'],
  'info': 'File "tests/samplepackage/bar2.zcml", line 6.2-6.24'}]
*****************************************************************
Failure in example: pprint(clean_actions(context.actions))
from line #28 of zope.configuration.tests.test_xmlconfig.test_includeOverrides
Expected:
[{'discriminator': (('x', 'blah'), ('y', 0)),
  'includepath': ['tests/samplepackage/bar.zcml',
                  'tests/samplepackage/bar1.zcml',
                  'tests/samplepackage/configure.zcml'],
  'info': 'File "tests/samplepackage/configure.zcml", line 12.2-12.29'},
 {'discriminator': (('x', 'blah'), ('y', 1)),
  'includepath': ['tests/samplepackage/bar.zcml',
                  'tests/samplepackage/bar1.zcml'],
  'info': 'File "tests/samplepackage/bar1.zcml", line 5.2-5.24'},
 {'discriminator': (('x', 'blah'), ('y', 0)),
  'includepath': ['tests/samplepackage/bar.zcml',
                  'tests/samplepackage/bar2.zcml',
                  'tests/samplepackage/bar21.zcml'],
  'info': 'File "tests/samplepackage/bar21.zcml", line 3.2-3.24'},
 {'discriminator': (('x', 'blah'), ('y', 2)),
  'includepath': ['tests/samplepackage/bar.zcml',
                  'tests/samplepackage/bar2.zcml',
                  'tests/samplepackage/bar21.zcml'],
  'info': 'File "tests/samplepackage/bar21.zcml", line 4.2-4.24'},
 {'discriminator': (('x', 'blah'), ('y', 2)),
  'includepath': ['tests/samplepackage/bar.zcml',
                  'tests/samplepackage/bar2.zcml'],
  'info': 'File "tests/samplepackage/bar2.zcml", line 5.2-5.24'},
 {'discriminator': (('x', 'blah'), ('y', 1)),
  'includepath': ['tests/samplepackage/bar.zcml',
                  'tests/samplepackage/bar2.zcml'],
  'info': 'File "tests/samplepackage/bar2.zcml", line 6.2-6.24'}]
Got:
[{'discriminator': (('x', 'blah'), ('y', 0)),
  'includepath': ['testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar.zcml',
                  'testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar1.zcml',
                  'testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/configure.zcml'],
  'info': 'File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/configure.zcml", line 12.2-12.29'},
 {'discriminator': (('x', 'blah'), ('y', 1)),
  'includepath': ['testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar.zcml',
                  'testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar1.zcml'],
  'info': 'File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar1.zcml", line 5.2-5.24'},
 {'discriminator': (('x', 'blah'), ('y', 0)),
  'includepath': ['testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar.zcml',
                  'testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar2.zcml',
                  'testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar21.zcml'],
  'info': 'File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar21.zcml", line 3.2-3.24'},
 {'discriminator': (('x', 'blah'), ('y', 2)),
  'includepath': ['testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar.zcml',
                  'testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar2.zcml',
                  'testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar21.zcml'],
  'info': 'File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar21.zcml", line 4.2-4.24'},
 {'discriminator': (('x', 'blah'), ('y', 2)),
  'includepath': ['testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar.zcml',
                  'testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar2.zcml'],
  'info': 'File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar2.zcml", line 5.2-5.24'},
 {'discriminator': (('x', 'blah'), ('y', 1)),
  'includepath': ['testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar.zcml',
                  'testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar2.zcml'],
  'info': 'File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar2.zcml", line 6.2-6.24'}]
Trying:
try:
   v = context.execute_actions()
except config.ConfigurationConflictError, v:
   pass
Expecting: nothing
ok
Trying: print clean_text_w_paths(str(v))
Expecting:
Conflicting configuration actions
  For: (('x', 'blah'), ('y', 0))
    File "tests/samplepackage/configure.zcml", line 12.2-12.29
        <test:foo x="blah" y="0" />
    File "tests/samplepackage/bar21.zcml", line 3.2-3.24
        <foo x="blah" y="0" />
  For: (('x', 'blah'), ('y', 1))
    File "tests/samplepackage/bar1.zcml", line 5.2-5.24
        <foo x="blah" y="1" />
    File "tests/samplepackage/bar2.zcml", line 6.2-6.24
        <foo x="blah" y="1" />
*****************************************************************
Failure in example: print clean_text_w_paths(str(v))
from line #65 of zope.configuration.tests.test_xmlconfig.test_includeOverrides
Expected:
Conflicting configuration actions
  For: (('x', 'blah'), ('y', 0))
    File "tests/samplepackage/configure.zcml", line 12.2-12.29
        <test:foo x="blah" y="0" />
    File "tests/samplepackage/bar21.zcml", line 3.2-3.24
        <foo x="blah" y="0" />
  For: (('x', 'blah'), ('y', 1))
    File "tests/samplepackage/bar1.zcml", line 5.2-5.24
        <foo x="blah" y="1" />
    File "tests/samplepackage/bar2.zcml", line 6.2-6.24
        <foo x="blah" y="1" />
Got:
Conflicting configuration actions
  For: (('x', 'blah'), ('y', 0))
    File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/configure.zcml", line 12.2-12.29
        <test:foo x="blah" y="0" />
    File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar21.zcml", line 3.2-3.24
        <foo x="blah" y="0" />
  For: (('x', 'blah'), ('y', 1))
    File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar1.zcml", line 5.2-5.24
        <foo x="blah" y="1" />
    File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar2.zcml", line 6.2-6.24
        <foo x="blah" y="1" />
Trying: context = config.ConfigurationMachine()
Expecting: nothing
ok
Trying: xmlconfig.registerCommonDirectives(context)
Expecting: nothing
ok
Trying: path = os.path.join(here, "samplepackage", "baro.zcml")
Expecting: nothing
ok
Trying: xmlconfig.include(context, path)
Expecting: nothing
ok
Trying: pprint(clean_actions(context.actions))
Expecting:
[{'discriminator': (('x', 'blah'), ('y', 0)),
  'includepath': ['tests/samplepackage/baro.zcml',
                  'tests/samplepackage/bar1.zcml',
                  'tests/samplepackage/configure.zcml'],
  'info': 'File "tests/samplepackage/configure.zcml", line 12.2-12.29'},
 {'discriminator': (('x', 'blah'), ('y', 1)),
  'includepath': ['tests/samplepackage/baro.zcml',
                  'tests/samplepackage/bar1.zcml'],
  'info': 'File "tests/samplepackage/bar1.zcml", line 5.2-5.24'},
 {'discriminator': (('x', 'blah'), ('y', 0)),
  'includepath': ['tests/samplepackage/baro.zcml'],
  'info': 'File "tests/samplepackage/bar21.zcml", line 3.2-3.24'},
 {'discriminator': (('x', 'blah'), ('y', 2)),
  'includepath': ['tests/samplepackage/baro.zcml'],
  'info': 'File "tests/samplepackage/bar2.zcml", line 5.2-5.24'},
 {'discriminator': (('x', 'blah'), ('y', 1)),
  'includepath': ['tests/samplepackage/baro.zcml'],
  'info': 'File "tests/samplepackage/bar2.zcml", line 6.2-6.24'}]
*****************************************************************
Failure in example: pprint(clean_actions(context.actions))
from line #91 of zope.configuration.tests.test_xmlconfig.test_includeOverrides
Expected:
[{'discriminator': (('x', 'blah'), ('y', 0)),
  'includepath': ['tests/samplepackage/baro.zcml',
                  'tests/samplepackage/bar1.zcml',
                  'tests/samplepackage/configure.zcml'],
  'info': 'File "tests/samplepackage/configure.zcml", line 12.2-12.29'},
 {'discriminator': (('x', 'blah'), ('y', 1)),
  'includepath': ['tests/samplepackage/baro.zcml',
                  'tests/samplepackage/bar1.zcml'],
  'info': 'File "tests/samplepackage/bar1.zcml", line 5.2-5.24'},
 {'discriminator': (('x', 'blah'), ('y', 0)),
  'includepath': ['tests/samplepackage/baro.zcml'],
  'info': 'File "tests/samplepackage/bar21.zcml", line 3.2-3.24'},
 {'discriminator': (('x', 'blah'), ('y', 2)),
  'includepath': ['tests/samplepackage/baro.zcml'],
  'info': 'File "tests/samplepackage/bar2.zcml", line 5.2-5.24'},
 {'discriminator': (('x', 'blah'), ('y', 1)),
  'includepath': ['tests/samplepackage/baro.zcml'],
  'info': 'File "tests/samplepackage/bar2.zcml", line 6.2-6.24'}]
Got:
[{'discriminator': (('x', 'blah'), ('y', 0)),
  'includepath': ['testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/baro.zcml',
                  'testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar1.zcml',
                  'testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/configure.zcml'],
  'info': 'File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/configure.zcml", line 12.2-12.29'},
 {'discriminator': (('x', 'blah'), ('y', 1)),
  'includepath': ['testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/baro.zcml',
                  'testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar1.zcml'],
  'info': 'File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar1.zcml", line 5.2-5.24'},
 {'discriminator': (('x', 'blah'), ('y', 0)),
  'includepath': ['testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/baro.zcml'],
  'info': 'File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar21.zcml", line 3.2-3.24'},
 {'discriminator': (('x', 'blah'), ('y', 2)),
  'includepath': ['testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/baro.zcml'],
  'info': 'File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar2.zcml", line 5.2-5.24'},
 {'discriminator': (('x', 'blah'), ('y', 1)),
  'includepath': ['testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/baro.zcml'],
  'info': 'File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar2.zcml", line 6.2-6.24'}]
Trying: context.execute_actions()
Expecting: nothing
ok
Trying: len(foo.data)
Expecting: 3
ok
Trying: data = foo.data.pop(0)
Expecting: nothing
ok
Trying: data.args
Expecting: (('x', 'blah'), ('y', 0))
ok
Trying: print clean_info_path(`data.info`)
Expecting: File "tests/samplepackage/bar21.zcml", line 3.2-3.24
*****************************************************************
Failure in example: print clean_info_path(`data.info`)
from line #134 of zope.configuration.tests.test_xmlconfig.test_includeOverrides
Expected: File "tests/samplepackage/bar21.zcml", line 3.2-3.24
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar21.zcml", line 3.2-3.24
Trying: data = foo.data.pop(0)
Expecting: nothing
ok
Trying: data.args
Expecting: (('x', 'blah'), ('y', 2))
ok
Trying: print clean_info_path(`data.info`)
Expecting: File "tests/samplepackage/bar2.zcml", line 5.2-5.24
*****************************************************************
Failure in example: print clean_info_path(`data.info`)
from line #140 of zope.configuration.tests.test_xmlconfig.test_includeOverrides
Expected: File "tests/samplepackage/bar2.zcml", line 5.2-5.24
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar2.zcml", line 5.2-5.24
Trying: data = foo.data.pop(0)
Expecting: nothing
ok
Trying: data.args
Expecting: (('x', 'blah'), ('y', 1))
ok
Trying: print clean_info_path(`data.info`)
Expecting: File "tests/samplepackage/bar2.zcml", line 6.2-6.24
*****************************************************************
Failure in example: print clean_info_path(`data.info`)
from line #146 of zope.configuration.tests.test_xmlconfig.test_includeOverrides
Expected: File "tests/samplepackage/bar2.zcml", line 6.2-6.24
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/bar2.zcml", line 6.2-6.24
6 of 25 examples failed in string zope.configuration.tests.test_xmlconfig.test_includeOverrides


======================================================================
FAIL: test_include_by_file (zope.configuration.tests.test_xmlconfig)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autotestsIBTig/Zope3/src/zope/testing/doctestunit.py", line 72, in runTest
    raise self.failureException(
AssertionError: Failed doctest test for zope.configuration.tests.test_xmlconfig.test_include_by_file
  File "/tmp/autotestsIBTig/Zope3/src/zope/configuration/tests/test_xmlconfig.py", line 244, in test_include_by_file

Running string zope.configuration.tests.test_xmlconfig.test_include_by_file
Trying: context = config.ConfigurationMachine()
Expecting: nothing
ok
Trying: xmlconfig.registerCommonDirectives(context)
Expecting: nothing
ok
Trying: here = os.path.split(__file__)[0]
Expecting: nothing
ok
Trying: path = os.path.join(here, "samplepackage", "foo.zcml")
Expecting: nothing
ok
Trying: xmlconfig.include(context, path)
Expecting: nothing
ok
Trying: context.execute_actions()
Expecting: nothing
ok
Trying: data = foo.data.pop()
Expecting: nothing
ok
Trying: data.args
Expecting: (('x', 'foo'), ('y', 2))
ok
Trying: print clean_info_path(`data.info`)
Expecting: File "tests/samplepackage/foo.zcml.in", line 12.2-12.28
*****************************************************************
Failure in example: print clean_info_path(`data.info`)
from line #13 of zope.configuration.tests.test_xmlconfig.test_include_by_file
Expected: File "tests/samplepackage/foo.zcml.in", line 12.2-12.28
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/foo.zcml.in", line 12.2-12.28
Trying: print clean_info_path(str(data.info))
Expecting:
File "tests/samplepackage/foo.zcml.in", line 12.2-12.28
    <test:foo x="foo" y="2" />
*****************************************************************
Failure in example: print clean_info_path(str(data.info))
from line #16 of zope.configuration.tests.test_xmlconfig.test_include_by_file
Expected:
File "tests/samplepackage/foo.zcml.in", line 12.2-12.28
    <test:foo x="foo" y="2" />
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/foo.zcml.in", line 12.2-12.28
    <test:foo x="foo" y="2" />
Trying: data.package
Expecting: nothing
ok
Trying: data.basepath[-13:]
Expecting: 'samplepackage'
ok
Trying: [clean_path(p) for p in data.includepath]
Expecting: ['tests/samplepackage/foo.zcml.in']
*****************************************************************
Failure in example: [clean_path(p) for p in data.includepath]
from line #25 of zope.configuration.tests.test_xmlconfig.test_include_by_file
Expected: ['tests/samplepackage/foo.zcml.in']
Got:
['testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/foo.zcml.in']
3 of 13 examples failed in string zope.configuration.tests.test_xmlconfig.test_include_by_file


======================================================================
FAIL: test_include_by_file_glob (zope.configuration.tests.test_xmlconfig)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autotestsIBTig/Zope3/src/zope/testing/doctestunit.py", line 72, in runTest
    raise self.failureException(
AssertionError: Failed doctest test for zope.configuration.tests.test_xmlconfig.test_include_by_file_glob
  File "/tmp/autotestsIBTig/Zope3/src/zope/configuration/tests/test_xmlconfig.py", line 274, in test_include_by_file_glob

Running string zope.configuration.tests.test_xmlconfig.test_include_by_file_glob
Trying: context = config.ConfigurationMachine()
Expecting: nothing
ok
Trying: xmlconfig.registerCommonDirectives(context)
Expecting: nothing
ok
Trying: here = os.path.split(__file__)[0]
Expecting: nothing
ok
Trying: path = os.path.join(here, "samplepackage/baz*.zcml")
Expecting: nothing
ok
Trying: xmlconfig.include(context, files=path)
Expecting: nothing
ok
Trying: context.execute_actions()
Expecting: nothing
ok
Trying: data = foo.data.pop()
Expecting: nothing
ok
Trying: data.args
Expecting: (('x', 'foo'), ('y', 3))
ok
Trying: print clean_info_path(`data.info`)
Expecting: File "tests/samplepackage/baz3.zcml", line 5.2-5.28
*****************************************************************
Failure in example: print clean_info_path(`data.info`)
from line #12 of zope.configuration.tests.test_xmlconfig.test_include_by_file_glob
Expected: File "tests/samplepackage/baz3.zcml", line 5.2-5.28
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/baz3.zcml", line 5.2-5.28
Trying: print clean_info_path(str(data.info))
Expecting:
File "tests/samplepackage/baz3.zcml", line 5.2-5.28
    <test:foo x="foo" y="3" />
*****************************************************************
Failure in example: print clean_info_path(str(data.info))
from line #15 of zope.configuration.tests.test_xmlconfig.test_include_by_file_glob
Expected:
File "tests/samplepackage/baz3.zcml", line 5.2-5.28
    <test:foo x="foo" y="3" />
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/baz3.zcml", line 5.2-5.28
    <test:foo x="foo" y="3" />
Trying: data.package
Expecting: nothing
ok
Trying: data.basepath[-13:]
Expecting: 'samplepackage'
ok
Trying: [clean_path(p) for p in data.includepath]
Expecting: ['tests/samplepackage/baz3.zcml']
*****************************************************************
Failure in example: [clean_path(p) for p in data.includepath]
from line #24 of zope.configuration.tests.test_xmlconfig.test_include_by_file_glob
Expected: ['tests/samplepackage/baz3.zcml']
Got:
['testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/baz3.zcml']
Trying: data = foo.data.pop()
Expecting: nothing
ok
Trying: data.args
Expecting: (('x', 'foo'), ('y', 2))
ok
Trying: print clean_info_path(`data.info`)
Expecting: File "tests/samplepackage/baz2.zcml", line 5.2-5.28
*****************************************************************
Failure in example: print clean_info_path(`data.info`)
from line #31 of zope.configuration.tests.test_xmlconfig.test_include_by_file_glob
Expected: File "tests/samplepackage/baz2.zcml", line 5.2-5.28
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/baz2.zcml", line 5.2-5.28
Trying: print clean_info_path(str(data.info))
Expecting:
File "tests/samplepackage/baz2.zcml", line 5.2-5.28
    <test:foo x="foo" y="2" />
*****************************************************************
Failure in example: print clean_info_path(str(data.info))
from line #34 of zope.configuration.tests.test_xmlconfig.test_include_by_file_glob
Expected:
File "tests/samplepackage/baz2.zcml", line 5.2-5.28
    <test:foo x="foo" y="2" />
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/baz2.zcml", line 5.2-5.28
    <test:foo x="foo" y="2" />
Trying: data.package
Expecting: nothing
ok
Trying: data.basepath[-13:]
Expecting: 'samplepackage'
ok
Trying: [clean_path(p) for p in data.includepath]
Expecting: ['tests/samplepackage/baz2.zcml']
*****************************************************************
Failure in example: [clean_path(p) for p in data.includepath]
from line #43 of zope.configuration.tests.test_xmlconfig.test_include_by_file_glob
Expected: ['tests/samplepackage/baz2.zcml']
Got:
['testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/baz2.zcml']
6 of 20 examples failed in string zope.configuration.tests.test_xmlconfig.test_include_by_file_glob


======================================================================
FAIL: test_include_by_package (zope.configuration.tests.test_xmlconfig)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autotestsIBTig/Zope3/src/zope/testing/doctestunit.py", line 72, in runTest
    raise self.failureException(
AssertionError: Failed doctest test for zope.configuration.tests.test_xmlconfig.test_include_by_package
  File "/tmp/autotestsIBTig/Zope3/src/zope/configuration/tests/test_xmlconfig.py", line 204, in test_include_by_package

Running string zope.configuration.tests.test_xmlconfig.test_include_by_package
Trying: context = config.ConfigurationMachine()
Expecting: nothing
ok
Trying: xmlconfig.registerCommonDirectives(context)
Expecting: nothing
ok
Trying: import zope.configuration.tests.samplepackage as package
Expecting: nothing
ok
Trying: xmlconfig.include(context, 'configure.zcml', package)
Expecting: nothing
ok
Trying: context.execute_actions()
Expecting: nothing
ok
Trying: data = foo.data.pop()
Expecting: nothing
ok
Trying: data.args
Expecting: (('x', 'blah'), ('y', 0))
ok
Trying: print clean_info_path(`data.info`)
Expecting: File "tests/samplepackage/configure.zcml", line 12.2-12.29
*****************************************************************
Failure in example: print clean_info_path(`data.info`)
from line #12 of zope.configuration.tests.test_xmlconfig.test_include_by_package
Expected: File "tests/samplepackage/configure.zcml", line 12.2-12.29
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/configure.zcml", line 12.2-12.29
Trying: print clean_info_path(str(data.info))
Expecting:
File "tests/samplepackage/configure.zcml", line 12.2-12.29
    <test:foo x="blah" y="0" />
*****************************************************************
Failure in example: print clean_info_path(str(data.info))
from line #15 of zope.configuration.tests.test_xmlconfig.test_include_by_package
Expected:
File "tests/samplepackage/configure.zcml", line 12.2-12.29
    <test:foo x="blah" y="0" />
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/configure.zcml", line 12.2-12.29
    <test:foo x="blah" y="0" />
Trying: data.package is package
Expecting: 1
ok
Trying: data.basepath[-13:]
Expecting: 'samplepackage'
ok
Trying: [clean_path(p) for p in data.includepath]
Expecting: ['tests/samplepackage/configure.zcml']
*****************************************************************
Failure in example: [clean_path(p) for p in data.includepath]
from line #25 of zope.configuration.tests.test_xmlconfig.test_include_by_package
Expected: ['tests/samplepackage/configure.zcml']
Got:
['testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/configure.zcml']
Trying:
try:
  xmlconfig.include(context, 'configure.zcml', package)
except xmlconfig.ConfigurationError, e:
  'OK'
Expecting: 'OK'
ok
3 of 13 examples failed in string zope.configuration.tests.test_xmlconfig.test_include_by_package


======================================================================
FAIL: test_processxmlfile (zope.configuration.tests.test_xmlconfig)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autotestsIBTig/Zope3/src/zope/testing/doctestunit.py", line 72, in runTest
    raise self.failureException(
AssertionError: Failed doctest test for zope.configuration.tests.test_xmlconfig.test_processxmlfile
  File "/tmp/autotestsIBTig/Zope3/src/zope/configuration/tests/test_xmlconfig.py", line 152, in test_processxmlfile

Running string zope.configuration.tests.test_xmlconfig.test_processxmlfile
Trying: file = open(path("samplepackage", "configure.zcml"))
Expecting: nothing
ok
Trying: context = config.ConfigurationMachine()
Expecting: nothing
ok
Trying: xmlconfig.registerCommonDirectives(context)
Expecting: nothing
ok
Trying: xmlconfig.processxmlfile(file, context)
Expecting: nothing
ok
Trying: foo.data
Expecting: []
ok
Trying: context.execute_actions()
Expecting: nothing
ok
Trying: data = foo.data.pop()
Expecting: nothing
ok
Trying: data.args
Expecting: (('x', 'blah'), ('y', 0))
ok
Trying: print clean_info_path(`data.info`)
Expecting: File "tests/samplepackage/configure.zcml", line 12.2-12.29
*****************************************************************
Failure in example: print clean_info_path(`data.info`)
from line #17 of zope.configuration.tests.test_xmlconfig.test_processxmlfile
Expected: File "tests/samplepackage/configure.zcml", line 12.2-12.29
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/configure.zcml", line 12.2-12.29
Trying: print clean_info_path(str(data.info))
Expecting:
File "tests/samplepackage/configure.zcml", line 12.2-12.29
    <test:foo x="blah" y="0" />
*****************************************************************
Failure in example: print clean_info_path(str(data.info))
from line #20 of zope.configuration.tests.test_xmlconfig.test_processxmlfile
Expected:
File "tests/samplepackage/configure.zcml", line 12.2-12.29
    <test:foo x="blah" y="0" />
Got:
File "testsIBTig/Zope3/src/zope/configuration/tests/samplepackage/configure.zcml", line 12.2-12.29
    <test:foo x="blah" y="0" />
Trying: data.package
Expecting: nothing
ok
Trying: data.basepath
Expecting: nothing
ok
2 of 12 examples failed in string zope.configuration.tests.test_xmlconfig.test_processxmlfile


----------------------------------------------------------------------
Ran 4997 tests in 1236.681s

FAILED (failures=12)
Running FUNCTIONAL tests at all levels
Running FUNCTIONAL tests from /tmp/autotestsIBTig/Zope3
Parsing ftesting.zcml
...............................................................................................................
----------------------------------------------------------------------
Ran 111 tests in 109.762s

OK



More information about the Zope-tests mailing list