#NEWLINE# def test_decorator_with_no_args( self ) : #NEWLINE# #INDENT# 'Decorators: keep_messages with no args should avoid the removal of all flash-scoped values. \n        ' #NEWLINE# view = keep_messages ( view_method ) #NEWLINE# self . assertEqual ( 'Message' , self . flash [ 'message' ] ) #NEWLINE# self . assertTrue ( view ( self . request ) ) #NEWLINE# self . assertEqual ( 'Message' , self . flash [ 'message' ] ) #NEWLINE# view_method ( self . request ) #NEWLINE# self . assertFalse ( ( 'message' in view . flash ) )