-
Notifications
You must be signed in to change notification settings - Fork 13
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
Issues with async tests #99
Comments
You will need to adjust your env.py slightly, so that the plugin can inject the connection, documented here (or you would either need to supply a |
@DanCardin , ah of course. Thank you kindly for such a quick response, I think I have everything sorted out on my end now. |
nice! closing then. feel free to comment again if something comes up |
I'm getting |
Yeah same for me 🤔 |
Just linking this issue to #119, given that it's got more detail as to the issue of the last 2 comments for future reference |
Hello,
I am trying to write unit tests using the
pytest-alembic
package where I migrate my db schema into an in-memory sqlite db.I have defined fixtures like this:
My env.py file is like this:
When I run the following test:
I get this error:
Any help/directions would be greatly appreciated, not entirely sure what I am doing wrong here but it obviously looks like there is something wrong in how I am setting the asyncio framework up.
The text was updated successfully, but these errors were encountered: