[Grok-dev] functional test fails

Uli Fouquet uli at gnufix.de
Fri May 9 09:43:43 EDT 2008


Hi Joachim,

Joachim Schmitz wrote:
> I am following Peter's testsetup howto
> 
> http://grok.zope.org/documentation/how-to/writing%2Cdiscovering%2Crunning-tests-with-z3c.testsetup
> 
> when trying to run the first functional-test I got:
> "/home/perry/buildout-eggs/tmplQxZ2z/zope.configuration-3.4.0-py2.4.egg/zope/configuration/fields.py", 
> line 141, in fromUnicode
> ZopeXMLConfigurationError: File 
[...]

> after changing ftesting.zcml to:
> ...
>    <!-- Typical functional testing security setup -->
>    <securityPolicy
>        component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy"
>        />
> 
> it worked.
> 

If you read Peter's HowTo during the last weeks, then you should have
been able to spot the sidenote in it (lower right), which tells about
exactly that error (and how to handle it). Wasn't that sidenote
displayed in your browser? Which browser did you use?

Kind regards,

-- 
Uli

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://mail.zope.org/pipermail/grok-dev/attachments/20080509/3b4727c9/attachment.bin


More information about the Grok-dev mailing list