#NEWLINE# def test_huge_password_is_never_valid( ) : #NEWLINE# #INDENT# auth = authcode . Auth ( SECRET_KEY ) #NEWLINE# p = ( '1' * 2000 ) #NEWLINE# p = auth . prepare_password ( hashed ) #NEWLINE# hashed = auth . hasher . encrypt ( p ) #NEWLINE# assert ( not auth . password_is_valid ( p , hashed ) )