1919 convert_pip_url as git_convert_pip_url ,
2020 extract_status ,
2121)
22- from libvcs .shortcuts import create_repo_from_pip_url
22+ from libvcs .shortcuts import create_project_from_pip_url
2323
2424if not which ("git" ):
2525 pytestmark = pytest .mark .skip (reason = "git is not available" )
4242 },
4343 ],
4444 [
45- create_repo_from_pip_url ,
45+ create_project_from_pip_url ,
4646 lambda bare_dir , tmp_path , ** kwargs : {
4747 "pip_url" : f"git+file://{ bare_dir } " ,
4848 "dir" : tmp_path / "obtaining a bare repo" ,
@@ -83,7 +83,7 @@ def test_repo_git_obtain_initial_commit_repo(
8383 },
8484 ],
8585 [
86- create_repo_from_pip_url ,
86+ create_project_from_pip_url ,
8787 lambda git_remote_repo , tmp_path , ** kwargs : {
8888 "pip_url" : f"git+file://{ git_remote_repo } " ,
8989 "dir" : tmp_path / "myrepo" ,
@@ -118,7 +118,7 @@ def test_repo_git_obtain_full(
118118 },
119119 ],
120120 [
121- create_repo_from_pip_url ,
121+ create_project_from_pip_url ,
122122 lambda git_remote_repo , tmp_path , ** kwargs : {
123123 "pip_url" : f"git+file://{ git_remote_repo } " ,
124124 "dir" : tmp_path / "myrepo" ,
@@ -161,7 +161,7 @@ def test_repo_update_handle_cases(
161161 },
162162 ],
163163 [
164- create_repo_from_pip_url ,
164+ create_project_from_pip_url ,
165165 lambda git_remote_repo , tmp_path , progress_callback , ** kwargs : {
166166 "pip_url" : f"git+file://{ git_remote_repo } " ,
167167 "dir" : tmp_path / "myrepo" ,
@@ -285,7 +285,7 @@ def progress_callback_spy(output, timestamp):
285285 },
286286 ],
287287 [
288- create_repo_from_pip_url ,
288+ create_project_from_pip_url ,
289289 lambda git_remote_repo , projects_path , repo_name , ** kwargs : {
290290 "pip_url" : f"git+file://{ git_remote_repo } " ,
291291 "dir" : projects_path / repo_name ,
@@ -468,7 +468,7 @@ def test_git_get_url_and_rev_from_pip_url():
468468 },
469469 ],
470470 [
471- create_repo_from_pip_url ,
471+ create_project_from_pip_url ,
472472 lambda git_remote_repo , dir , ** kwargs : {
473473 "pip_url" : f"git+file://{ git_remote_repo } " ,
474474 "dir" : dir ,
@@ -510,7 +510,7 @@ def test_remotes_preserves_git_ssh(
510510 },
511511 ],
512512 [
513- create_repo_from_pip_url ,
513+ create_project_from_pip_url ,
514514 lambda bare_dir , tmp_path , ** kwargs : {
515515 "pip_url" : f"git+file://{ bare_dir } " ,
516516 "dir" : tmp_path / "obtaining a bare repo" ,
@@ -529,7 +529,7 @@ def test_private_ssh_format(
529529 }
530530
531531 with pytest .raises (exc .LibVCSException ) as excinfo :
532- create_repo_from_pip_url (** pip_url_kwargs )
532+ create_project_from_pip_url (** pip_url_kwargs )
533533 excinfo .match (r"is malformatted" )
534534
535535
0 commit comments