diff options
author | Cole Robinson <crobinso@redhat.com> | 2020-07-05 08:30:14 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2020-07-17 14:57:03 -0400 |
commit | e9b3ed509fb4c92848e99d8fc841745cf3097a55 (patch) | |
tree | 45d515d9aca7eb3ddd3fe092d7fa0f29979813e0 /.coveragerc | |
parent | 4f15e2d6eb323d41cf52a20dd07c7d62c4dea23f (diff) | |
download | virt-manager-e9b3ed509fb4c92848e99d8fc841745cf3097a55.tar.gz |
tests: Add pytest conftest.py
Makes 'pytest' and 'pytest --cov' work for the standard tests.
uitests run with `pytest --uitests --cov=virtManager`.
test_urls.py, test_dist.py, test_inject.py need to be invoked like
pytest $PATH
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Diffstat (limited to '.coveragerc')
-rw-r--r-- | .coveragerc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.coveragerc b/.coveragerc index 13210d9c..bed7e332 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,4 +1,10 @@ +[run] +source=virtinst/ +omit=virtinst/progress.py + [report] +skip_covered = yes + exclude_lines = # Have to re-enable the standard pragma pragma: no cover |