#NEWLINE# def test_user_set_password( self ) : #NEWLINE# #INDENT# arglist = [ '--password' , 'secret' , identity_fakes . user_name ] #NEWLINE# verifylist = [ ( 'name' , None ) , ( 'password' , 'secret' ) , ( 'password_prompt' , False ) , ( 'email' , None ) , ( 'project' , None ) , ( 'enable' , False ) , ( 'disable' , False ) , ( 'user' , identity_fakes . user_name ) ] #NEWLINE# parsed_args = self . check_parser ( self . cmd , arglist , arglist ) #NEWLINE# result = self . cmd . take_action ( parsed_args ) #NEWLINE# self . users_mock . update_password . assert_called_with ( identity_fakes . user_id , 'secret' ) #NEWLINE# self . assertIsNone ( result )