File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ def xdg_config_path(
59
59
return p
60
60
61
61
62
- @pytest .fixture ()
62
+ @pytest .fixture
63
63
def config_path (
64
64
xdg_config_path : pathlib .Path ,
65
65
request : pytest .FixtureRequest ,
@@ -84,7 +84,7 @@ def set_xdg_config_path(
84
84
monkeypatch .setenv ("XDG_CONFIG_HOME" , str (xdg_config_path ))
85
85
86
86
87
- @pytest .fixture ()
87
+ @pytest .fixture
88
88
def repos_path (user_path : pathlib .Path , request : pytest .FixtureRequest ) -> pathlib .Path :
89
89
"""Return temporary directory for repository checkout guaranteed unique."""
90
90
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