import pytest
import tempfile
from typer.testing import CliRunner


@pytest.fixture()
def config_dir():
    with tempfile.TemporaryDirectory() as d:
        yield d


@pytest.fixture
def runner(config_dir):
    yield CliRunner(mix_stderr=False, env={'XDG_CONFIG_HOME': config_dir})

5396abb6d2484dec1fc002f958d90e9d2cd833a1
<mask token>

<mask token>


@pytest.fixture()
def config_dir():
    with tempfile.TemporaryDirectory() as d:
        yield d


<mask token>

<mask token>


@pytest.fixture()
def config_dir():
    with tempfile.TemporaryDirectory() as d:
        yield d


@pytest.fixture
def runner(config_dir):
    yield CliRunner(mix_stderr=False, env={'XDG_CONFIG_HOME': config_dir})

import pytest
import tempfile
from typer.testing import CliRunner


@pytest.fixture()
def config_dir():
    with tempfile.TemporaryDirectory() as d:
        yield d


@pytest.fixture
def runner(config_dir):
    yield CliRunner(mix_stderr=False, env={'XDG_CONFIG_HOME': config_dir})
