UserWarning fixed in gherkin terminal reporter
This commit is contained in:
parent
04353d29f3
commit
67c54dc185
|
@ -58,7 +58,7 @@ class GherkinTerminalReporter(TerminalReporter):
|
|||
|
||||
def pytest_runtest_logreport(self, report):
|
||||
rep = report
|
||||
res = self.config.hook.pytest_report_teststatus(report=rep)
|
||||
res = self.config.hook.pytest_report_teststatus(report=rep, config=self.config)
|
||||
cat, letter, word = res
|
||||
|
||||
if not letter and not word:
|
||||
|
|
Loading…
Reference in New Issue