velofy/tests/console/conftest.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
234 B
Python
Raw Normal View History

"""Fixture for testing the CLI scripts."""
import pytest
from click import testing as cli_testing
@pytest.fixture
def cli() -> cli_testing.CliRunner:
"""Initialize Click's CLI Test Runner."""
return cli_testing.CliRunner()