Fix ansible-test coverage --all (#62115)
This commit is contained in:
parent
53aa258d78
commit
6fb1d56fdc
2 changed files with 3 additions and 1 deletions
2
changelogs/fragments/62096-test-coverage-all.yml
Normal file
2
changelogs/fragments/62096-test-coverage-all.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- ansible-test coverage - Fix the ``--all`` argument when generating coverage reports - https://github.com/ansible/ansible/issues/62096
|
|
@ -175,7 +175,7 @@ def _command_coverage_combine_python(args):
|
|||
updated.add_arcs({filename: list(arc_data[filename])})
|
||||
|
||||
if args.all:
|
||||
updated.add_arcs(dict((source, []) for source in sources))
|
||||
updated.add_arcs(dict((source[0], []) for source in sources))
|
||||
|
||||
if not args.explain:
|
||||
output_file = coverage_file + group
|
||||
|
|
Loading…
Reference in a new issue