fixtures#

Collection of pytest fixtures used in conda.notices tests.

Functions#

notices_cache_dir(mocker, tmp_path) → collections.abc.Iterator[pathlib.Path]

Fixture that creates the notices cache dir while also mocking

notices_mock_fetch_get_session(mocker) → unittest.mock.MagicMock

conda_notices_args_n_parser()

notices_cache_dir(mocker: pytest_mock.MockerFixture, tmp_path: pathlib.Path) → collections.abc.Iterator[pathlib.Path]#

Fixture that creates the notices cache dir while also mocking out a call to user_cache_dir.

notices_mock_fetch_get_session(mocker: pytest_mock.MockerFixture) → unittest.mock.MagicMock#
conda_notices_args_n_parser()#