@@ -94,35 +94,16 @@ def have_mock_data():
94
94
95
95
96
96
parametrization_local_save_remote = pytest .mark .parametrize (
97
- "patch_get" ,
98
- [
99
- pytest .param (
100
- "local" ,
101
- marks = pytest .mark .skipif (
102
- not have_mock_data (),
103
- reason = "No test data found. If remote_data is allowed, we'll generate some." ,
104
- ),
105
- ),
106
- pytest .param (
107
- "save" ,
108
- marks = [
109
- pytest .mark .remote_data ,
110
- pytest .mark .skipif (
111
- have_mock_data (),
112
- reason = "found some test data: please delete them to save again." ,
113
- ),
114
- ],
115
- ),
116
- pytest .param (
117
- "remote" ,
118
- marks = [
119
- pytest .mark .remote_data ,
120
- pytest .mark .skipif (
121
- not have_mock_data (),
122
- reason = "No test data found, [save] will run remote tests and save data." ,
123
- ),
124
- ],
125
- ),
126
- ],
127
- indirect = True ,
128
- )
97
+ "patch_get" , [
98
+ pytest .param ("local" , marks = [
99
+ pytest .mark .skipif (not have_mock_data (),
100
+ reason = "No test data found. If remote_data is allowed, we'll generate some." )]),
101
+ pytest .param ("save" , marks = [
102
+ pytest .mark .remote_data ,
103
+ pytest .mark .skipif (have_mock_data (),
104
+ reason = "found some test data: please delete them to save again." )]),
105
+ pytest .param ("remote" , marks = [
106
+ pytest .mark .remote_data ,
107
+ pytest .mark .skipif (not have_mock_data (),
108
+ reason = "No test data found, [save] will run remote tests and save data." )])],
109
+ indirect = True )
0 commit comments