[Zope] Zope unit testing - users?

Richard Jones richard@commonground.com.au
Fri, 27 Jun 2003 15:21:48 +1000


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Is there any way to change the current user in Zope unit tests? I've 
managed to trace the current user down to 
SecurityManager._context.user, but reassigning that doesn't seem to 
make the change. Any hints?

I've poked through the Zope source and Products to see if there's any 
hints - but it doesn't look like anyone unit-tests security 
restrictions?!?


     Richard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Darwin)

iD8DBQE++9RtrGisBEHG6TARAn9aAJ4svSFUua1TNZJBb2dEYG+bG1/fOgCeM+dQ
a8pjMvr6jyP/x2EKvVGzh/c=
=Psbv
-----END PGP SIGNATURE-----