Added a code coverage exception pattern.
- Legacy-Id: 13878
This commit is contained in:
parent
263551d3b7
commit
e0c59bace0
|
@ -497,6 +497,7 @@ TEST_CODE_COVERAGE_EXCLUDE_FILES = [
|
|||
TEST_CODE_COVERAGE_EXCLUDE_LINES = [
|
||||
"coverage: *ignore",
|
||||
"debug\.",
|
||||
"def .*debug"
|
||||
"unreachable\([^)]*\)",
|
||||
"if settings.DEBUG",
|
||||
"if __name__ == .__main__.:",
|
||||
|
|
Loading…
Reference in a new issue