1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix bug preventing coverage of setup module.

This commit is contained in:
Matt Clay 2018-07-24 18:28:08 -07:00
parent 32b5992578
commit 72f1a6cc1f

View file

@ -39,7 +39,7 @@ def command_coverage_combine(args):
"""
coverage = initialize_coverage(args)
modules = dict((t.module, t.path) for t in list(walk_module_targets()))
modules = dict((t.module, t.path) for t in list(walk_module_targets()) if t.path.endswith('.py'))
coverage_files = [os.path.join(COVERAGE_DIR, f) for f in os.listdir(COVERAGE_DIR) if '=coverage.' in f]