Skip to content

"Event Loop is Closed" During Tests #1094

Closed Answered by provinzkraut
rgajason asked this question in Q&A
Discussion options

You must be logged in to vote

Can you provide a reproducible example or at least include the code of the test that causes this error?

Also, how are you using the test_client fixture? The fact that it’s not running the lifecycle hooks tells me there might be something wrong about that.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@provinzkraut
Comment options

@rgajason
Comment options

@rgajason
Comment options

@provinzkraut
Comment options

@rgajason
Comment options

Answer selected by rgajason
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants