Trying to run

python test.py --package=zope.app.component

results in :

Running unit tests:
  Ran 318 tests with 0 failures and 0 errors in 6.118 seconds.
Running zope.app.testing.functional.Functional tests:
  Set up zope.app.testing.functional.Functional
Traceback (most recent call last):
  File "test.py", line 61, in ?
    result = testrunner.run(defaults)
  File "/home/juka/zope/testtrunk/src/zope/testing/testrunner.py", line
240, in run
    failed = run_with_options(options)
  File "/home/juka/zope/testtrunk/src/zope/testing/testrunner.py", line
390, in run_with_options
    setup_layers, failures, errors)

[snip]

"/home/juka/zope/testtrunk/src/zope/app/publisher/browser/metaconfigure.py",
line 26, in ?
    from zope.app import zapi, layers, skins
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File
"/home/juka/zope/testtrunk/zopeskel/etc/ftesting.zcml", line 13.2-13.32
    ZopeXMLConfigurationError: File
"/home/juka/zope/testtrunk/src/zope/app/configure.zcml", line 8.2-8.30
    ZopeXMLConfigurationError: File
"/home/juka/zope/testtrunk/src/zope/app/meta.zcml", line 8.0-8.57
    ZopeXMLConfigurationError: File
"/home/juka/zope/testtrunk/src/zope/app/publisher/meta.zcml", line 5.2-5.49
    ZopeXMLConfigurationError: File
"/home/juka/zope/testtrunk/src/zope/app/publisher/browser/meta.zcml",
line 90.4-94.10
    ImportError: cannot import name layers


Running "python test.py --package=zope.app" or "python test.py" works fine.

Jürgen

-- 

---------------------------------------------------
Jürgen Kartnaller   mailto:juergen_at_kartnaller.at
                    http://www.kartnaller.at
                    http://www.mcb-bregenz.at
---------------------------------------------------

_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to