mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	coverage: Exclude uncovered lines in test_signup.
This commit is contained in:
		@@ -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:
 | 
			
		||||
 
 | 
			
		||||
@@ -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',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user