repo-cloner/tests/lib/cloner_test_fixtures.py

13 lines
232 B
Python
Raw Normal View History

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