Skip to content

Can't see exception tracebacks in pytest with TestClient #2009

Answered by Goldziher
mikemcowie asked this question in Q&A
Discussion options

You must be logged in to vote

You can set debug=True in your test client and that will give you a traceback.

@provinzkraut - we should switch testing to use debug by default.

Replies: 1 comment 5 replies

Comment options

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

@mikemcowie
Comment options

@provinzkraut
Comment options

@mikemcowie
Comment options

@mikemcowie
Comment options

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