coverage: Exclude uncovered lines in test_signup.

This commit is contained in:
Tim Abbott
2017-03-04 23:01:50 -08:00
parent ff9f827c9a
commit 065651b4fe
3 changed files with 8 additions and 7 deletions

View File

@@ -2,11 +2,13 @@
# Regexes for lines to exclude from consideration
exclude_lines =
# Re-enable the standard coverage pragma
pragma: no cover
nocoverage
# Don't complain if non-runnable code isn't run:
if False:
# Don't require coverage for base class NotImplementedErrors
raise NotImplementedError()
# Don't require coverage for test suite AssertionError -- they're usually for clarity
raise AssertionError
# Don't require coverage for Python 2/3 variations; it's impossible to cover on both
if six.PY3:
if six.PY2:

View File

@@ -88,7 +88,6 @@ not_yet_fully_covered = {
'zerver/tests/test_email_mirror.py',
'zerver/tests/test_events.py',
'zerver/tests/test_narrow.py',
'zerver/tests/test_signup.py',
'zerver/tests/test_subs.py',
'zerver/tests/test_templates.py',
'zerver/tests/test_tornado.py',