#NEWLINE# def test_filter_not_encrypted( self ) : #NEWLINE# #INDENT# stdout = StringIO ( ) #NEWLINE# with patch ( 'sys.stdout' , stdout ) : #NEWLINE# #INDENT# execute_from_command_line ( [ '' , 'listbackups' , '--not-encrypted' , '-q' ] ) #NEWLINE# #UNINDENT# stdout . seek ( 0 ) #NEWLINE# stdout . readline ( ) #NEWLINE# for line in stdout . readlines ( ) : #NEWLINE# #INDENT# self . assertNotIn ( '.gpg' , line )