The current scenario outline parametrization. This is used internally by pytest_bdd. If no outline is used, we just return an empty dict to render the current template without any actual variable. Otherwise, pytest_bdd will add all the context variables in this fixture from the
()
| 43 | |
| 44 | @pytest.fixture |
| 45 | def _pytest_bdd_example() -> dict: |
| 46 | """The current scenario outline parametrization. |
| 47 | |
| 48 | This is used internally by pytest_bdd. |
| 49 | |
| 50 | If no outline is used, we just return an empty dict to render |
| 51 | the current template without any actual variable. |
| 52 | Otherwise, pytest_bdd will add all the context variables in this fixture |
| 53 | from the example definitions in the feature file. |
| 54 | """ |
| 55 | return {} |
| 56 | |
| 57 | |
| 58 | def pytest_addoption(parser: Parser) -> None: |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…