Properly exclude tests/output/ from code coverage.

pull/62114/head
Matt Clay 5 years ago
parent f110abb806
commit 983f0ad5a0

@ -0,0 +1,2 @@
bugfixes:
- ansible-test now properly excludes the ``tests/output/`` directory from code coverage

@ -111,11 +111,11 @@ include =
# temporary work-around for import sanity test
coverage_config += '''
include =
%s/*
%s/*
omit =
*/test/results/*
''' % data_context().content.root
%s/*
''' % (data_context().content.root, os.path.join(data_context().content.root, data_context().content.results_path))
else:
coverage_config += '''
include =

Loading…
Cancel
Save