File tree 3 files changed +5
-5
lines changed 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ def xdg_config_path(
56
56
return p
57
57
58
58
59
- @pytest .fixture ()
59
+ @pytest .fixture
60
60
def config_path (
61
61
xdg_config_path : pathlib .Path ,
62
62
request : pytest .FixtureRequest ,
@@ -81,7 +81,7 @@ def set_xdg_config_path(
81
81
monkeypatch .setenv ("XDG_CONFIG_HOME" , str (xdg_config_path ))
82
82
83
83
84
- @pytest .fixture ()
84
+ @pytest .fixture
85
85
def repos_path (user_path : pathlib .Path , request : pytest .FixtureRequest ) -> pathlib .Path :
86
86
"""Return temporary directory for repository checkout guaranteed unique."""
87
87
path = user_path / "repos"
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ def __call__(
24
24
...
25
25
26
26
27
- @pytest .fixture ()
27
+ @pytest .fixture
28
28
def load_yaml (tmp_path : pathlib .Path ) -> LoadYAMLFn :
29
29
"""Return a yaml loading function that uses temporary directory path."""
30
30
Original file line number Diff line number Diff line change 15
15
from .helpers import EnvironmentVarGuard , load_raw , write_config
16
16
17
17
18
- @pytest .fixture ()
18
+ @pytest .fixture
19
19
def yaml_config (config_path : pathlib .Path ) -> pathlib .Path :
20
20
"""Ensure and return vcspull yaml configuration file path."""
21
21
yaml_file = config_path / "repos1.yaml"
22
22
yaml_file .touch ()
23
23
return yaml_file
24
24
25
25
26
- @pytest .fixture ()
26
+ @pytest .fixture
27
27
def json_config (config_path : pathlib .Path ) -> pathlib .Path :
28
28
"""Ensure and return vcspull json configuration file path."""
29
29
json_file = config_path / "repos2.json"
You can’t perform that action at this time.
0 commit comments