many-repos/tests/common_test.py

9 lines
315 B
Python
Raw Normal View History

2024-05-28 15:35:47 +02:00
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()