I am running pytest with tavern for a small testing API project. Failing a test, throws me a bunch of verbose errors plus the response I am expecting to get (why it failed). How can I make pytest less verbose?
I tried pytest --tb=short, pytest -vv, pytest --tavern-beta-new-traceback and none worked as expected just telling me the reason it failed. Something like:
E tavern.util.exceptions.TestFailError: Test 'Do something' failed:
- Status code was 200, expected 300
-------------------------------------------------------- Captured log call --------------------------------------------------------
base.py 41 ERROR Status code was 200, expected 300
==================================================== 1 failed in 0.38 seconds =====================================================
Maybe is something wrong with how tavern handles errors or pytest?