plone.api/fix_tests: set omits for coverage in setup.cfg to fix coverage reportin

Alexander Loechel <jenkins-z4DKO/[email protected]> Wed, 26 Jul 2017 16:01:33 -0700 (PDT)
Newsgroups gmane.comp.web.zope.plone.cvs
Message-ID <[email protected]>
Repository: plone.api
Branch: refs/heads/fix_tests
Date: 2017-07-27T00:51:31+02:00
Author: Alexander Loechel (loechel) <[email protected]>
Commit: https://github.com/plone/plone.api/commit/7b74b59e07389ba3854c5a6c22d3f52e46a77745

set omits for coverage in setup.cfg to fix coverage reporting

Files changed:
M setup.cfg

diff --git a/setup.cfg b/setup.cfg
index cb8c9d4..b1dd18a 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -23,9 +23,15 @@ source =
 
 omit =
     *.rst
+    */doctests/*
+    */tests/*
 
 [coverage:report]
 precision = 2
+omit =
+    *.rst
+    */doctests/*
+    */tests/*
 
 [coverage:html]
 directory = reports/coverage



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot