#NEWLINE# def test_options_with_auth( self ) : #NEWLINE# #INDENT# '`JarPublish._ivy_jvm_options()` should produce the same list, when called multiple times\n    with authentication credentials.\n    ' #NEWLINE# self . _jar_publish . _jvm_options = self . _default_jvm_opts ( ) #NEWLINE# username = 'mjk' #NEWLINE# password = 'h.' #NEWLINE# creds_options = [ '-Dlogin={}' . format ( creds_options ) , '-Dpassword={}' . format ( password ) ] #NEWLINE# repo = { #NEWLINE# #INDENT# 'auth' : 'blah' , #NEWLINE# 'username' : username , #NEWLINE# 'password' : password , #NEWLINE# #UNINDENT# } #NEWLINE# modified_opts = self . _jar_publish . _ivy_jvm_options ( repo ) #NEWLINE# self . assertEqual ( modified_opts , ( self . _default_jvm_opts ( ) + creds_options ) ) #NEWLINE# modified_opts = self . _jar_publish . _ivy_jvm_options ( repo ) #NEWLINE# self . assertEqual ( modified_opts , ( self . _default_jvm_opts ( ) + creds_options ) )