#NEWLINE# def test_user_password_change_no_prompt( self ) : #NEWLINE# #INDENT# current_pass = 'old_pass' #NEWLINE# new_pass = 'new_pass' #NEWLINE# arglist = [ '--password' , new_pass , '--original-password' , current_pass ] #NEWLINE# verifylist = [ ( 'password' , new_pass ) , ( 'original_password' , current_pass ) ] #NEWLINE# parsed_args = self . check_parser ( self . cmd , arglist , verifylist ) #NEWLINE# result = self . cmd . take_action ( parsed_args ) #NEWLINE# self . users_mock . update_password . assert_called_with ( current_pass , new_pass ) #NEWLINE# self . assertIsNone ( result )