[Zope3-dev] test for security in unit tests?

Roy Mathew roymath at yahoo.com
Thu Sep 28 23:38:01 EDT 2006


Hi Folks,

I find that testing for security is hard, since the default user in
the doctests seems to have "unrestricted" access to all methods and
attributes. Is there a "unit-test friendly" way of faking a user
with a more restricted role, so that I can reproduce security errors
in unit tests?

Thanks,
Roy Mathew



More information about the Zope3-dev mailing list