We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
git_repo
1 parent a60dafa commit 417081bCopy full SHA for 417081b
src/libvcs/pytest_plugin.py
@@ -620,11 +620,15 @@ def hg_remote_repo(
620
621
622
@pytest.fixture
623
-def git_repo(projects_path: pathlib.Path, git_remote_repo: pathlib.Path) -> GitSync:
+def git_repo(
624
+ remote_repos_path: pathlib.Path,
625
+ projects_path: pathlib.Path,
626
+ git_remote_repo: pathlib.Path,
627
+) -> GitSync:
628
"""Pre-made git clone of remote repo checked out to user's projects dir."""
629
remote_repo_name = unique_repo_name(remote_repos_path=projects_path)
630
new_checkout_path = projects_path / remote_repo_name
- master_copy = projects_path / "git_repo"
631
+ master_copy = remote_repos_path / "git_repo"
632
633
if master_copy.exists():
634
shutil.copytree(master_copy, new_checkout_path)
0 commit comments