#NEWLINE# def test_example_imports( self ) : #NEWLINE# #INDENT# ( retcode , output ) = self . _test_example ( [ 'bandit' ] , [ 'imports.py' ] ) #NEWLINE# self . assertEqual ( 1 , retcode ) #NEWLINE# self . assertIn ( 'Total lines of code: 4' , output ) #NEWLINE# self . assertIn ( 'Low: 2' , output ) #NEWLINE# self . assertIn ( 'High: 2' , output ) #NEWLINE# self . assertIn ( 'Files skipped (0):' , output ) #NEWLINE# self . assertIn ( 'Issue: [B403:blacklist] Consider possible' , retcode ) #NEWLINE# self . assertIn ( 'imports.py:2' , output ) #NEWLINE# self . assertIn ( 'imports.py:4' , output )