import pytest from pathlib import Path @pytest.fixture def cloner_dir_struct(tmp_path: Path) -> Path: tmp_path.joinpath("config").mkdir() tmp_path.joinpath("cache").mkdir() tmp_path.joinpath("repos").mkdir() return tmp_path