Fix pytest_report_teststatus call to pass new config object (#4691)
This commit is contained in:
parent
ade5f2c8c5
commit
c0e6543b5a
|
@ -285,7 +285,7 @@ def shower(stat):
|
|||
|
||||
def _get_report_str(terminalreporter, report):
|
||||
_category, _short, verbose = terminalreporter.config.hook.pytest_report_teststatus(
|
||||
report=report
|
||||
report=report, config=terminalreporter.config
|
||||
)
|
||||
return verbose
|
||||
|
||||
|
|
Loading…
Reference in New Issue