File: conftest.py

package info (click to toggle)
ansible-runner 2.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,232 kB
  • sloc: python: 9,896; makefile: 19
file content (6 lines) | stat: -rw-r--r-- 214 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
import pytest


@pytest.fixture
def patch_private_data_dir(tmp_path, mocker):
    mocker.patch('ansible_runner.config._base.tempfile.mkdtemp', return_value=tmp_path.joinpath('.ansible-runner-lo0zrl9x').as_posix())