Skip to content

Commit 8378a34

Browse files
committed
Remove unused function
1 parent c12d8c1 commit 8378a34

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/pytest_bdd/parser.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -330,22 +330,6 @@ def get_tag_names(tag_data: list[GherkinTag]) -> set[str]:
330330
"""
331331
return {tag.name.lstrip("@") for tag in tag_data}
332332

333-
@staticmethod
334-
def get_step_type(keyword: str) -> str | None:
335-
"""Map a step keyword to its corresponding type.
336-
337-
Args:
338-
keyword (str): The keyword for the step (e.g., 'given', 'when', 'then').
339-
340-
Returns:
341-
Optional[str]: The type of the step, or None if the keyword is unknown.
342-
"""
343-
return {
344-
"given": GIVEN,
345-
"when": WHEN,
346-
"then": THEN,
347-
}.get(keyword)
348-
349333
def parse_steps(self, steps_data: list[GherkinStep]) -> list[Step]:
350334
"""Parse a list of step data into Step objects.
351335

0 commit comments

Comments
 (0)