MCPcopy Create free account
hub / github.com/pytest-dev/pytest-bdd / set_param_names

Method set_param_names

src/pytest_bdd/parser.py:104–110  ·  view source on GitHub ↗

Set the parameter names for the examples. Args: keys (Iterable[str]): The parameter names to set.

(self, keys: Iterable[str])

Source from the content-addressed store, hash-verified

102 tags: set[str] = field(default_factory=set)
103
104 def set_param_names(self, keys: Iterable[str]) -> None:
105 """Set the parameter names for the examples.
106
107 Args:
108 keys (Iterable[str]): The parameter names to set.
109 """
110 self.example_params = [str(key) for key in keys]
111
112 def add_example(self, values: Sequence[str]) -> None:
113 """Add a new example row.

Callers 1

parse_scenarioMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected