2626def check_expected_parse_copyright_file (
2727 test_loc ,
2828 expected_loc ,
29- regen = True ,
29+ regen = False ,
3030 simplified = False ,
3131 _licensing = Licensing (),
3232):
@@ -156,7 +156,7 @@ def create_test_function(
156156 expected_loc ,
157157 test_name ,
158158 simplified = False ,
159- regen = True ,
159+ regen = False ,
160160):
161161 '''
162162 Return a test function closed on test arguments.
@@ -179,7 +179,7 @@ def test_func(self):
179179 return test_func
180180
181181
182- def build_tests (test_dir , clazz , prefix = 'test_' , regen = True ):
182+ def build_tests (test_dir , clazz , prefix = 'test_' , regen = False ):
183183 '''
184184 Dynamically build test methods for each copyright file in `test_dir` and
185185 attach the test method to the `clazz` class.
@@ -211,7 +211,7 @@ class TestDebianCopyrightLicenseDetection(FileBasedTesting):
211211 test_dir = 'debian/copyright/debian-2019-11-15' ,
212212 prefix = 'test_debian_parse_copyright_file_' ,
213213 clazz = TestDebianCopyrightLicenseDetection ,
214- regen = True ,
214+ regen = False ,
215215)
216216
217217
@@ -224,7 +224,7 @@ class TestDebianSlimCopyrightLicenseDetection(FileBasedTesting):
224224 test_dir = 'debian/copyright/debian-slim-2021-04-07' ,
225225 prefix = 'test_debian_slim_parse_copyright_file_' ,
226226 clazz = TestDebianSlimCopyrightLicenseDetection ,
227- regen = True ,
227+ regen = False ,
228228)
229229
230230
@@ -237,7 +237,7 @@ class TestDebianMiscCopyrightLicenseDetection(FileBasedTesting):
237237 test_dir = 'debian/copyright/debian-misc' ,
238238 prefix = 'test_debian_misc_parse_copyright_file_' ,
239239 clazz = TestDebianMiscCopyrightLicenseDetection ,
240- regen = True ,
240+ regen = False ,
241241)
242242
243243
@@ -262,7 +262,7 @@ def test_simplification(self):
262262 test_loc = test_loc ,
263263 expected_loc = expected_loc ,
264264 simplified = True ,
265- regen = True ,
265+ regen = False ,
266266 )
267267
268268 def test_is_paragraph_debian_packaging (self ):
0 commit comments