[Grok-dev] functional test fails

Joachim Schmitz js at aixtraware.de
Fri May 9 09:15:37 EDT 2008

I am following Peter's testsetup howto


when trying to run the first functional-test I got:
line 141, in fromUnicode
ZopeXMLConfigurationError: File 
"/home/perry/WAeUP_ng/Campus/src/campus/ftesting.zcml", line 11.2-13.8
     ConfigurationError: ('Invalid value for', 'component', 
"ImportError: Couldn't import zope.app.securitypolicy.zopepolicy, No 
module named securitypolicy.zopepolicy")

Tests with errors:
    runTest (zope.testing.testrunner.SetUpLayerFailure)
Total: 2 tests, 0 failures, 1 errors in 7.114 seconds.

after changing ftesting.zcml to:
   <!-- Typical functional testing security setup -->

it worked.

Gruß Joachim

More information about the Grok-dev mailing list