@@ -99,7 +99,7 @@ def user_path(home_path: pathlib.Path, home_user_name: str) -> pathlib.Path:
99
99
return p
100
100
101
101
102
- @pytest .fixture ()
102
+ @pytest .fixture
103
103
def set_home (
104
104
monkeypatch : pytest .MonkeyPatch ,
105
105
user_path : pathlib .Path ,
@@ -108,7 +108,7 @@ def set_home(
108
108
monkeypatch .setenv ("HOME" , str (user_path ))
109
109
110
110
111
- @pytest .fixture ()
111
+ @pytest .fixture
112
112
@skip_if_git_missing
113
113
def gitconfig (user_path : pathlib .Path , set_home : pathlib .Path ) -> pathlib .Path :
114
114
"""Return git configuration, pytest fixture."""
@@ -143,7 +143,7 @@ def gitconfig(user_path: pathlib.Path, set_home: pathlib.Path) -> pathlib.Path:
143
143
return gitconfig
144
144
145
145
146
- @pytest .fixture ()
146
+ @pytest .fixture
147
147
@skip_if_hg_missing
148
148
def hgconfig (user_path : pathlib .Path , set_home : pathlib .Path ) -> pathlib .Path :
149
149
"""Return Mercurial configuration, pytest fixture."""
@@ -164,7 +164,7 @@ def hgconfig(user_path: pathlib.Path, set_home: pathlib.Path) -> pathlib.Path:
164
164
return hgrc
165
165
166
166
167
- @pytest .fixture ()
167
+ @pytest .fixture
168
168
def projects_path (
169
169
user_path : pathlib .Path ,
170
170
request : pytest .FixtureRequest ,
@@ -180,7 +180,7 @@ def clean() -> None:
180
180
return path
181
181
182
182
183
- @pytest .fixture ()
183
+ @pytest .fixture
184
184
def remote_repos_path (
185
185
user_path : pathlib .Path ,
186
186
request : pytest .FixtureRequest ,
@@ -255,7 +255,7 @@ def _create_git_remote_repo(
255
255
return remote_repo_path
256
256
257
257
258
- @pytest .fixture ()
258
+ @pytest .fixture
259
259
@skip_if_git_missing
260
260
def create_git_remote_repo (
261
261
remote_repos_path : pathlib .Path ,
@@ -288,7 +288,7 @@ def git_remote_repo_single_commit_post_init(remote_repo_path: pathlib.Path) -> N
288
288
run (["git" , "commit" , "-m" , "test file for dummyrepo" ], cwd = remote_repo_path )
289
289
290
290
291
- @pytest .fixture ()
291
+ @pytest .fixture
292
292
@skip_if_git_missing
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."""
@@ -340,7 +340,7 @@ def svn_remote_repo_single_commit_post_init(remote_repo_path: pathlib.Path) -> N
340
340
)
341
341
342
342
343
- @pytest .fixture ()
343
+ @pytest .fixture
344
344
@skip_if_svn_missing
345
345
def create_svn_remote_repo (
346
346
remote_repos_path : pathlib .Path ,
@@ -365,7 +365,7 @@ def fn(
365
365
return fn
366
366
367
367
368
- @pytest .fixture ()
368
+ @pytest .fixture
369
369
@skip_if_svn_missing
370
370
def svn_remote_repo (remote_repos_path : pathlib .Path ) -> pathlib .Path :
371
371
"""Pre-made. Local file:// based SVN server."""
@@ -403,7 +403,7 @@ def hg_remote_repo_single_commit_post_init(remote_repo_path: pathlib.Path) -> No
403
403
run (["hg" , "commit" , "-m" , "test file for hg repo" ], cwd = remote_repo_path )
404
404
405
405
406
- @pytest .fixture ()
406
+ @pytest .fixture
407
407
@skip_if_hg_missing
408
408
def create_hg_remote_repo (
409
409
remote_repos_path : pathlib .Path ,
@@ -430,7 +430,7 @@ def fn(
430
430
return fn
431
431
432
432
433
- @pytest .fixture ()
433
+ @pytest .fixture
434
434
@skip_if_hg_missing
435
435
def hg_remote_repo (
436
436
remote_repos_path : pathlib .Path ,
@@ -444,7 +444,7 @@ def hg_remote_repo(
444
444
)
445
445
446
446
447
- @pytest .fixture ()
447
+ @pytest .fixture
448
448
def git_repo (projects_path : pathlib .Path , git_remote_repo : pathlib .Path ) -> GitSync :
449
449
"""Pre-made git clone of remote repo checked out to user's projects dir."""
450
450
git_repo = GitSync (
@@ -462,7 +462,7 @@ def git_repo(projects_path: pathlib.Path, git_remote_repo: pathlib.Path) -> GitS
462
462
return git_repo
463
463
464
464
465
- @pytest .fixture ()
465
+ @pytest .fixture
466
466
def hg_repo (projects_path : pathlib .Path , hg_remote_repo : pathlib .Path ) -> HgSync :
467
467
"""Pre-made hg clone of remote repo checked out to user's projects dir."""
468
468
hg_repo = HgSync (
@@ -473,7 +473,7 @@ def hg_repo(projects_path: pathlib.Path, hg_remote_repo: pathlib.Path) -> HgSync
473
473
return hg_repo
474
474
475
475
476
- @pytest .fixture ()
476
+ @pytest .fixture
477
477
def svn_repo (projects_path : pathlib .Path , svn_remote_repo : pathlib .Path ) -> SvnSync :
478
478
"""Pre-made svn clone of remote repo checked out to user's projects dir."""
479
479
svn_repo = SvnSync (
@@ -484,7 +484,7 @@ def svn_repo(projects_path: pathlib.Path, svn_remote_repo: pathlib.Path) -> SvnS
484
484
return svn_repo
485
485
486
486
487
- @pytest .fixture ()
487
+ @pytest .fixture
488
488
def add_doctest_fixtures (
489
489
request : pytest .FixtureRequest ,
490
490
doctest_namespace : dict [str , Any ],
0 commit comments