@@ -30,15 +30,15 @@ def __init__(self, attempts: int, *args: object) -> None:
30
30
)
31
31
32
32
33
- skip_if_git_missing = pytest .mark .skipif (
33
+ skip_if_missing_git = pytest .mark .skipif (
34
34
not shutil .which ("git" ),
35
35
reason = "git is not available" ,
36
36
)
37
- skip_if_svn_missing = pytest .mark .skipif (
37
+ skip_if_missing_svn = pytest .mark .skipif (
38
38
not shutil .which ("svn" ),
39
39
reason = "svn is not available" ,
40
40
)
41
- skip_if_hg_missing = pytest .mark .skipif (
41
+ skip_if_missing_hg = pytest .mark .skipif (
42
42
not shutil .which ("hg" ),
43
43
reason = "hg is not available" ,
44
44
)
@@ -109,7 +109,7 @@ def set_home(
109
109
110
110
111
111
@pytest .fixture
112
- @skip_if_git_missing
112
+ @skip_if_missing_git
113
113
def gitconfig (user_path : pathlib .Path , set_home : pathlib .Path ) -> pathlib .Path :
114
114
"""Return git configuration, pytest fixture."""
115
115
gitconfig = user_path / ".gitconfig"
@@ -144,7 +144,7 @@ def gitconfig(user_path: pathlib.Path, set_home: pathlib.Path) -> pathlib.Path:
144
144
145
145
146
146
@pytest .fixture
147
- @skip_if_hg_missing
147
+ @skip_if_missing_hg
148
148
def hgconfig (user_path : pathlib .Path , set_home : pathlib .Path ) -> pathlib .Path :
149
149
"""Return Mercurial configuration, pytest fixture."""
150
150
hgrc = user_path / ".hgrc"
@@ -256,7 +256,7 @@ def _create_git_remote_repo(
256
256
257
257
258
258
@pytest .fixture
259
- @skip_if_git_missing
259
+ @skip_if_missing_git
260
260
def create_git_remote_repo (
261
261
remote_repos_path : pathlib .Path ,
262
262
) -> CreateRepoPytestFixtureFn :
@@ -289,7 +289,7 @@ def git_remote_repo_single_commit_post_init(remote_repo_path: pathlib.Path) -> N
289
289
290
290
291
291
@pytest .fixture
292
- @skip_if_git_missing
292
+ @skip_if_missing_git
293
293
def git_remote_repo (remote_repos_path : pathlib .Path ) -> pathlib .Path :
294
294
"""Pre-made git repo w/ 1 commit, used as a file:// remote to clone and push to."""
295
295
return _create_git_remote_repo (
@@ -341,7 +341,7 @@ def svn_remote_repo_single_commit_post_init(remote_repo_path: pathlib.Path) -> N
341
341
342
342
343
343
@pytest .fixture
344
- @skip_if_svn_missing
344
+ @skip_if_missing_svn
345
345
def create_svn_remote_repo (
346
346
remote_repos_path : pathlib .Path ,
347
347
) -> CreateRepoPytestFixtureFn :
@@ -366,7 +366,7 @@ def fn(
366
366
367
367
368
368
@pytest .fixture
369
- @skip_if_svn_missing
369
+ @skip_if_missing_svn
370
370
def svn_remote_repo (remote_repos_path : pathlib .Path ) -> pathlib .Path :
371
371
"""Pre-made. Local file:// based SVN server."""
372
372
return _create_svn_remote_repo (
@@ -404,7 +404,7 @@ def hg_remote_repo_single_commit_post_init(remote_repo_path: pathlib.Path) -> No
404
404
405
405
406
406
@pytest .fixture
407
- @skip_if_hg_missing
407
+ @skip_if_missing_hg
408
408
def create_hg_remote_repo (
409
409
remote_repos_path : pathlib .Path ,
410
410
hgconfig : pathlib .Path ,
@@ -431,7 +431,7 @@ def fn(
431
431
432
432
433
433
@pytest .fixture
434
- @skip_if_hg_missing
434
+ @skip_if_missing_hg
435
435
def hg_remote_repo (
436
436
remote_repos_path : pathlib .Path ,
437
437
hgconfig : pathlib .Path ,
0 commit comments