File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -472,7 +472,7 @@ def empty_svn_repo(
472
472
)
473
473
474
474
475
- @pytest .fixture
475
+ @pytest .fixture ( scope = "session" )
476
476
@skip_if_svn_missing
477
477
def create_svn_remote_repo (
478
478
remote_repos_path : pathlib .Path ,
@@ -504,15 +504,15 @@ def fn(
504
504
return fn
505
505
506
506
507
- @pytest .fixture
507
+ @pytest .fixture ( scope = "session" )
508
508
@skip_if_svn_missing
509
- def svn_remote_repo (remote_repos_path : pathlib .Path ) -> pathlib .Path :
509
+ def svn_remote_repo (
510
+ create_svn_remote_repo : CreateRepoPytestFixtureFn ,
511
+ ) -> pathlib .Path :
510
512
"""Pre-made. Local file:// based SVN server."""
511
- return _create_svn_remote_repo (
512
- remote_repos_path = remote_repos_path ,
513
- remote_repo_name = "svn_server_dir" ,
514
- remote_repo_post_init = None ,
515
- )
513
+ repo_path = create_svn_remote_repo ()
514
+ svn_remote_repo_single_commit_post_init (remote_repo_path = repo_path )
515
+ return repo_path
516
516
517
517
518
518
def _create_hg_remote_repo (
You can’t perform that action at this time.
0 commit comments