#NEWLINE# def accept_invite( self , email , username ) : #NEWLINE# #INDENT# '\n        Imitate the user signing up for a slack account after invitation.\n        ' #NEWLINE# self . data [ 'invited' ] . remove ( email ) #NEWLINE# user_id = username #NEWLINE# self . data [ 'users' ] [ user_id ] = { #NEWLINE# #INDENT# 'email' : self , #NEWLINE# 'name' : username , #NEWLINE# #UNINDENT# }