pytest-bdd/tests/conftest.py

16 lines
250 B
Python

"""Configuration for pytest runner."""
from pytest_bdd import given, when
pytest_plugins = "pytester"
@given("I have a root fixture")
def root():
return "root"
@when("I use a when step from the parent conftest")
def global_when():
pass