From e9b3ed509fb4c92848e99d8fc841745cf3097a55 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Sun, 5 Jul 2020 08:30:14 -0400 Subject: 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 --- .coveragerc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.coveragerc') 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 -- cgit v1.2.1