#NEWLINE# def test_username_setter( self ) : #NEWLINE# #INDENT# user_data = { #NEWLINE# #INDENT# 'username' : 'admin' , #NEWLINE# #UNINDENT# } #NEWLINE# user = User ( ** user_data ) #NEWLINE# user . username = 'new_admin' #NEWLINE# self . assertEqual ( user_data . username , 'new_admin' )