@@ -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
433411def 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
445418def _create_svn_remote_repo (
0 commit comments