#NEWLINE# def test_decrypt_unpad( self ) : #NEWLINE# #INDENT# plaintext = 'Hello!' #NEWLINE# encrypted = encrypt ( plaintext , 'password' ) #NEWLINE# decrypted = decrypt ( encrypted , 'password' , True ) #NEWLINE# self . assertEqual ( plaintext , decrypted ) #NEWLINE# self . assertNotEqual ( plaintext , None )