Update .coveragerc to ignore abstract methods

Due to importing modules rather than functions and decorators directly,
@abc.abstract and 'raise NotImplementedError' were added to the
.coveragerc file.  Since abstract methods are not testable, this will
give us a more accurate representation of our coverage.

Change-Id: Id5ed5e1f5e142d10f41ad18d20228399226ec20d
Co-Authored-By: Jin Li <jl7351@att.com>
Closes-Bug: #1563717
This commit is contained in:
Larry Rensing 2016-03-30 17:59:23 +00:00
parent 99ff6d3348
commit 8387cd10de
1 changed files with 3 additions and 2 deletions

View File

@ -4,6 +4,7 @@ source = watcher
omit = watcher/tests/*
[report]
ignore_errors = True
ignore_errors = True
exclude_lines =
@abstract
@abc.abstract
raise NotImplementedError