File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 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(
472472 )
473473
474474
475- @pytest .fixture
475+ @pytest .fixture ( scope = "session" )
476476@skip_if_svn_missing
477477def create_svn_remote_repo (
478478 remote_repos_path : pathlib .Path ,
@@ -504,15 +504,15 @@ def fn(
504504 return fn
505505
506506
507- @pytest .fixture
507+ @pytest .fixture ( scope = "session" )
508508@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 :
510512 """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
516516
517517
518518def _create_hg_remote_repo (
You can’t perform that action at this time.
0 commit comments