[Zope-CMF] sequrity questions writing unit tests

Chris Withers chrisw@nipltd.com
Thu, 31 Oct 2002 13:10:06 +0000


Sidnei da Silva wrote:
> 
> I guess not. I have tried similar things and they work just as if you
> were doing it TTW. If you want to make really sure, I suggest looking
> at Functional Tests.

manage_delObjects is plain python code. Only things like Script (Python)'s and 
PageTemplates that set up their security contexts when called will behave 
identically TTW and in unittest.py tests.

cheers,

Chris