From bcfc386fe31b25ce1eb16c017858943044292b33 Mon Sep 17 00:00:00 2001 From: Sergey Lukjanov Date: Mon, 5 Aug 2013 23:09:06 +0400 Subject: [PATCH] Improve coverage calculation Change-Id: I66c8c692dcffd24342aa53038195b5c3daafa834 --- .coveragerc | 13 +++++++++++++ .gitignore | 1 + 2 files changed, 14 insertions(+) create mode 100644 .coveragerc diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 00000000..1954a56a --- /dev/null +++ b/.coveragerc @@ -0,0 +1,13 @@ +[run] +branch = True +source = savanna +omit = + */openstack/common/* + .tox/* + savanna/tests/* + +[paths] +source = savanna + +[report] +ignore-errors = True diff --git a/.gitignore b/.gitignore index 95bdd155..8815200f 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,4 @@ tools/lintstack.head.py tools/pylint_exceptions savanna/tests/cover savanna/tests/coverage.xml +htmlcov