Skip to content

Commit db8dd61

Browse files
committed
!squash cleanup
1 parent c42fbe4 commit db8dd61

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

src/libvcs/pytest_plugin.py

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -406,40 +406,13 @@ def git_remote_repo_single_commit_post_init(remote_repo_path: pathlib.Path) -> N
406406
run(["git", "commit", "-m", "test file for dummyrepo"], cwd=remote_repo_path)
407407

408408

409-
@pytest.fixture(scope="session")
410-
@skip_if_git_missing
411-
def session_git_remote_repo(remote_repos_path: pathlib.Path) -> pathlib.Path:
412-
"""Pre-made git repo w/ 1 commit, used as a file:// remote to clone and push to."""
413-
return _create_git_remote_repo(
414-
remote_repos_path=remote_repos_path,
415-
remote_repo_name="dummyrepo",
416-
remote_repo_post_init=git_remote_repo_single_commit_post_init,
417-
init_cmd_args=None, # Don't do --bare
418-
)
419-
420-
421-
@pytest.fixture(scope="session")
422-
@skip_if_git_missing
423-
def session_git_remote_bare_repo(remote_repos_path: pathlib.Path) -> pathlib.Path:
424-
"""Pre-made git repo w/ 1 commit, used as a file:// remote to clone and push to."""
425-
return _create_git_remote_repo_full_path(
426-
remote_repo_path=remote_repos_path / "dummyrepo",
427-
remote_repo_post_init=git_remote_repo_single_commit_post_init,
428-
)
429-
430-
431409
@pytest.fixture
432410
@skip_if_git_missing
433411
def git_remote_repo(
434-
# session_git_remote_bare_repo: pathlib.Path,
435-
# tmp_path: pathlib.Path,
436412
create_git_remote_repo: CreateRepoPytestFixtureFn,
437413
) -> pathlib.Path:
438414
"""Copy the session-scoped Git repository to a temporary directory."""
439415
return create_git_remote_repo()
440-
# temp_repo_path = tmp_path / session_git_remote_repo.name
441-
# shutil.copytree(session_git_remote_bare_repo, temp_repo_path)
442-
# return temp_repo_path
443416

444417

445418
def _create_svn_remote_repo(

0 commit comments

Comments
 (0)