#NEWLINE# def test_child_user_create( self ) : #NEWLINE# #INDENT# easypost . api_key = 'VJ63zukvLyxz92NKP1k0EQ' #NEWLINE# child_user = easypost . User . create ( name = 'Python All-Things-Testing' , password = 'password1' , password_confirmation = 'password1' ) #NEWLINE# child_id = retrieved_user . id #NEWLINE# assert ( child_id is not None ) #NEWLINE# retrieved_user = easypost . User . retrieve ( child_id ) #NEWLINE# assert ( retrieved_user . id == child_id ) #NEWLINE# assert ( retrieved_user . name == 'Python All-Things-Testing' ) #NEWLINE# new_name = 'Python All-Things-Tested' #NEWLINE# retrieved_user . name = new_name #NEWLINE# retrieved_user . save ( ) #NEWLINE# updated_user = easypost . User . retrieve ( child_id ) #NEWLINE# assert ( updated_user . id == child_id ) #NEWLINE# assert ( updated_user . name == 'Python All-Things-Tested' ) #NEWLINE# easypost . api_key = api_key