On Wednesday, March 16, 2011 8:36:32 PM UTC-4, Shen, Yu-Teh wrote:
>
>
> ---------------------------------------------------------------------- 
> Traceback (most recent call last): 
>   File "/home/ytshen/proj/tests.py", line 104, in 
> test_upload_forbidden 
>     self.assertRaises(Forbidden, upload, context, request) 
> AssertionError: Forbidden not raised 
>
>  
You application is handling the exception before it ever makes its way back 
to the assertion. I check the response for an my unauthorized message to 
ensure that I've been properly denied access.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to