This repository has been archived on 2025-09-25. You can view files and clone it, but cannot push or open issues or pull requests.
many-repos/tests/common_test.py
2024-05-28 15:35:47 +02:00

8 lines
315 B
Python

from pathlib import Path
from many_repos.clone import _construct_path
def test_correct_construct_path(test_repo, many_repos_config):
assert _construct_path(test_repo, many_repos_config) == (
Path(many_repos_config.output_dir) / test_repo.vcs / test_repo.namespace / test_repo.name).resolve()