Skip to content

Commit 4c7a608

Browse files
authored
fix none step_result error (via #608)
1 parent 9836e56 commit 4c7a608

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

allure-pytest-bdd/src/pytest_bdd_listener.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def pytest_bdd_after_scenario(self, request, feature, scenario):
6060
test_result.stop = now()
6161

6262
@pytest.hookimpl
63-
def pytest_bdd_before_step_call(self, request, feature, scenario, step, step_func, step_func_args):
63+
def pytest_bdd_before_step(self, request, feature, scenario, step, step_func):
6464
parent_uuid = get_uuid(request.node.nodeid)
6565
uuid = get_uuid(str(id(step)))
6666
with self.lifecycle.start_step(parent_uuid=parent_uuid, uuid=uuid) as step_result:

0 commit comments

Comments
 (0)