diff --git a/automated-pytest-suite/conftest.py b/automated-pytest-suite/conftest.py index 3d0fbeb..1f6d0f6 100644 --- a/automated-pytest-suite/conftest.py +++ b/automated-pytest-suite/conftest.py @@ -90,8 +90,10 @@ def _write_results(res_in_tests, test_name): tc_start_time = None -def pytest_runtest_makereport(item, call, __multicall__): - report = __multicall__.execute() +@pytest.hookimpl(hookwrapper=True) +def pytest_runtest_makereport(item, call): + out = yield + report = out.get_result() my_rep = MakeReport.get_report(item) my_rep.update_results(call, report)