We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0224d68 commit b453257Copy full SHA for b453257
src/pytest_bdd/scenario.py
@@ -182,7 +182,7 @@ def _execute_step_function(
182
func_sig = signature(context.step_func)
183
converters = context.converters
184
185
- def _get_parsed_arguments():
+ def _get_parsed_arguments() -> dict:
186
"""Parse and convert step arguments."""
187
parsed_args = context.parser.parse_arguments(step.name)
188
if parsed_args is None:
@@ -196,7 +196,7 @@ def _get_parsed_arguments():
196
kwargs[arg] = value
197
return kwargs
198
199
- def _get_argument_values(kwargs):
+ def _get_argument_values(kwargs: dict) -> dict:
200
"""Get default values or request fixture values for missing arguments."""
201
for arg in get_args(context.step_func):
202
if arg not in kwargs:
0 commit comments