-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Functional test warning when app uses SQLAlchemy and binds engine #5
Comments
This is something a user should handle, nothing in the scope of WebTest. Indeed, SQLAlchemy raises a warning when you try to configure an engine for the second time. |
I'm having the same problem with my WebTest tests. Stumbled on this while Googling, and still haven't found a solution. If anyone stops by here and knows how to resolve this, please comment. |
put a pdb when you assemble the session, run the tests and you'll see when it's called for the second time |
You can call |
@dobesv Thanks, that's awesome, anyone +1 to put this in the webtest docs? |
Anonymous:
URL: https://bitbucket.org/ianb/webtest/issue/27/functional-test-warning-when-app-uses
The text was updated successfully, but these errors were encountered: