Merge "Increasing coverage of try-except-pass to 100%"

This commit is contained in:
Jenkins 2015-09-24 09:30:55 +00:00 committed by Gerrit Code Review
commit 635f5fbd62
1 changed files with 7 additions and 0 deletions

View File

@ -381,6 +381,13 @@ class FunctionalTests(testtools.TestCase):
self.check_example('try_except_pass.py', expect)
conf = self.b_mgr.b_conf._config
conf['try_except_pass']['check_typed_exception'] = False
expect = {'SEVERITY': {'LOW': 2},
'CONFIDENCE': {'HIGH': 2}}
self.check_example('try_except_pass.py', expect)
def test_weak_cryptographic_key(self):
'''Test for weak key sizes.'''
expect = {