Add new pytest_runtest_logfinish hook

Fix #3101
This commit is contained in:
Bruno Oliveira
2018-01-09 22:17:39 -02:00
parent 93306f6a5e
commit b68b80aec9
5 changed files with 40 additions and 2 deletions

View File

@@ -60,6 +60,9 @@ def pytest_runtest_protocol(item, nextitem):
nodeid=item.nodeid, location=item.location,
)
runtestprotocol(item, nextitem=nextitem)
item.ihook.pytest_runtest_logfinish(
nodeid=item.nodeid, location=item.location,
)
return True