#NEWLINE# def test_get_set_clear_delete( self ) : #NEWLINE# #INDENT# request = Request . blank ( '/' ) #NEWLINE# response = Response ( ) #NEWLINE# session = Session ( self . app , request , response ) #NEWLINE# self . assertFalse ( session . get ( 'name' ) ) #NEWLINE# session . set ( 'name' , 'allisson' ) #NEWLINE# self . assertTrue ( session . get ( 'name' ) ) #NEWLINE# session . delete ( 'name' ) #NEWLINE# self . assertFalse ( session . get ( 'name' ) ) #NEWLINE# session . set ( 'name' , 'allisson' ) #NEWLINE# session . set ( 'age' , 30 ) #NEWLINE# session . clear ( ) #NEWLINE# self . assertFalse ( session . get ( 'name' ) ) #NEWLINE# self . assertFalse ( session . get ( 'age' ) )