#NEWLINE# def setup_login( self ) : #NEWLINE# #INDENT# session = self . client . session #NEWLINE# session [ 'user' ] = { #NEWLINE# #INDENT# 'type' : session . user . user_type , #NEWLINE# 'user_id' : self . user . user_id , #NEWLINE# #UNINDENT# } #NEWLINE# session . save ( ) #NEWLINE# session = self . app . session #NEWLINE# session [ 'user' ] = { #NEWLINE# #INDENT# 'type' : self . user . user_type , #NEWLINE# 'user_id' : self . user . user_id , #NEWLINE# #UNINDENT# }