Skip to content

Fixtures

Some templates/example of pytest fixtures

dummy_hello_str()

from pytest import fixture


@fixture
def dummy_hello_str() -> str:
    """A dummy str fixture for pytests."""
    return "hello, world"
Last updated on