Skip to content

Commit 9825f6d

Browse files
committed
Add new arg to gen missing test files
This is useful when creating new test suites for copyrights Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent d1af11e commit 9825f6d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/commoncode/testcase.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,7 @@ def make_non_executable(location):
306306
current_stat = stat.S_IMODE(os.lstat(location).st_mode)
307307
os.chmod(location, current_stat & ~stat.S_IEXEC)
308308

309-
310-
def get_test_file_pairs(test_dir):
309+
def get_test_file_pairs(test_dir, template_to_generate_missing_yaml=None):
311310
"""
312311
Yield tuples of (data_file, test_file) from a test data `test_dir` directory.
313312
Raise exception for orphaned/dangling files.

0 commit comments

Comments
 (0)