On Mar 16, 8:36 pm, "Shen, Yu-Teh" <[email protected]> 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
Hi Yu-Teh, I'm getting the same error and I have no idea how to get around it. Namely, the application appropriately raises the Forbidden exception when accessed through the browser. However, the testing code fails to raise the Forbidden exception when accessing views that are supposed to require authentication. Maybe the Pyramid people will help us. RHH -- 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.
