-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 12/13/2014 05:59 PM, Ben Sizer wrote:
> Thanks for your reply.
>
> I wouldn't know how to catch the exception any further upstream. I add
> the routes (in this case mapping 'front_page' to '/'), call
> make_wsgi_app, that gets run by paste/pserve (
I've never used Pyramid under windows, so I could be off here...
But when running under Mac/Linux, one can trip 500x error that just says
"Invalid Request" (or similar) under a few scenarios:
• exceptions in the wsgi middleware stack
• exceptions in most areas of the debugtoolbar code
• excepti
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 12/15/2014 05:22 AM, pyramidX wrote:
> I have the following test method, where I add a test user to the
> database, then with a DummyRequest I call my login view, then I assert
> the authenticated_userid is what I think it should be. However it
> r
I have the following test method, where I add a test user to the database,
then with a DummyRequest I call my login view, then I assert the
authenticated_userid is what I think it should be. However it returns None.
def test_login(self):
self.config = testing.setUp()
self.config