pony
pony copied to clipboard
Flask test
Hi.
I'm having a weird issue with Pony on Flask and wanted to confirm I dont have any weird version incompatibilities. I couldn't find any flask integration tests so I added a small one myself to validate something.
PRing in case this is of value.
after thinking about it a little more, I updated this PR to reflect my comments in #432. I didnt want to remove the teardown_request handling, as it would remove functionality (e.g. tearing down in case of error). Instead, I removed the raising on the teardown if the session is gone.