#NEWLINE# def test_unchanged_ip( self ) : #NEWLINE# #INDENT# cmd_args = [ '-u' , 'username' , '-p' , 'password' , '--url' , 'https://dynupdate.no-ip.com/nic/update' , '--provider' , 'generic' , '-n' , 'localhost' , '127.0.0.1' ] #NEWLINE# args = self . parser . parse_args ( cmd_args ) #NEWLINE# result = main . execute_update ( args ) #NEWLINE# self . assertEqual ( result . get ( 'exec_result' ) , main . EXECUTION_RESULT_OK , 'Update with unchanged IP failed.' ) #NEWLINE# self . assertEqual ( result . get ( 'process_message' ) , 'No update required.' , "Status message should be 'No update required'." )