#NEWLINE# def test_dont_convert_non_https_to_http( self ) : #NEWLINE# #INDENT# "Verify that we don't change non-HTTPS URLs." #NEWLINE# config = { #NEWLINE# #INDENT# 'name' : 'guestbook_api' , #NEWLINE# 'version' : 'X' , #NEWLINE# 'adapter' : { #NEWLINE# #INDENT# 'bns' : 'http://https.appspot.com/_ah/spi' , #NEWLINE# 'type' : 'lily' , #NEWLINE# #UNINDENT# } , #NEWLINE# 'root' : 'ios://https.appspot.com/_ah/api' , #NEWLINE# 'methods' : { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } #NEWLINE# self . config_manager . _convert_https_to_http ( config ) #NEWLINE# self . assertEqual ( 'http://https.appspot.com/_ah/spi' , config [ 'adapter' ] [ 'bns' ] ) #NEWLINE# self . assertEqual ( 'ios://https.appspot.com/_ah/api' , config [ 'root' ] )