Remove pragma no cover from code
Add exclude_lines in the report section of .coveragerc to ignore abstract in test coverage Change-Id: I7863a8ba7e20358fb7cdf3cc7e4d83871a5104ef
This commit is contained in:
@@ -5,3 +5,5 @@ omit = watcher/tests/*
|
||||
|
||||
[report]
|
||||
ignore_errors = True
|
||||
exclude_lines =
|
||||
@abstract
|
||||
|
||||
Reference in New Issue
Block a user