requests
call failures in pytest fixtures displays class content in errors
#3018
Labels
type: question
general question, might be closed after 2 weeks of inactivity
I'm using pytest to run "black-box" testing against a running web application, using
requests
for http.When the http call fails (for any reason), this causes the pytest test to fail, with a very verbose output that actually contains the code from some
requests
class:Is it the expected behavior of pytest ? Could it be because the Exception is raised in a fixture from conftest.py ? How can I make the output more readable (I really only want the stacktrace, not the full code...)
The text was updated successfully, but these errors were encountered: