@pytest.fixture
def runner(request, mocker):
    from click.testing import CliRunner
    mocker.patch('passpie.cli.create_keys', helpers.create_keys)
    mocker.patch('passpie.cli.ensure_dependencies')
    mocker.patch('passpie.database.Repository')
    init_kwargs = {}
    marker = request.node.get_marker('runner_setup')
    if marker:
        init_kwargs = marker.kwargs
    return CliRunner(**init_kwargs)
Instance of `click.testing.CliRunner`. Can be configured with `@pytest.mark.runner_setup`
dataset/ETHPy150Open marcwebbie/passpie/tests/conftest.py/runner