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:
parent
99ff6d3348
commit
8387cd10de
@ -6,4 +6,5 @@ omit = watcher/tests/*
|
|||||||
[report]
|
[report]
|
||||||
ignore_errors = True
|
ignore_errors = True
|
||||||
exclude_lines =
|
exclude_lines =
|
||||||
@abstract
|
@abc.abstract
|
||||||
|
raise NotImplementedError
|
||||||
|
Loading…
Reference in New Issue
Block a user