Skip to content

Commit e4f7801

Browse files
committed
Return missing newlines
1 parent 34a5e50 commit e4f7801

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/pytest_bdd/scenario.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,12 @@ def get_fixture_path(fixture_def: FixtureDef) -> list[str]:
153153

154154
def get_step_function(request: FixtureRequest, step: Step) -> StepFunctionContext | None:
155155
"""Get the step function (context) for the given step.
156+
156157
We first figure out what's the step fixture name that we have to inject.
158+
157159
Then we let `patch_argumented_step_functions` find out what step definition fixtures can parse the current step,
158160
and it will inject them for the step fixture name.
161+
159162
Finally, we let request.getfixturevalue(...) fetch the step definition fixture.
160163
"""
161164
__tracebackhide__ = True

0 commit comments

Comments
 (0)