UserWarning fixed in gherkin terminal reporter

This commit is contained in:
Milosz Sliwinski 2019-02-11 09:41:18 +01:00
parent 04353d29f3
commit 67c54dc185
1 changed files with 1 additions and 1 deletions

View File

@ -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: