#NEWLINE# def test_settings_to_constructor( self ) : #NEWLINE# #INDENT# self . assertEqual ( sixpack_client . SIXPACK_HOST , 'http://localhost:5000' ) #NEWLINE# session = sixpack_client . Session ( ) #NEWLINE# self . assertEqual ( session . host , 'http://localhost:5000' ) #NEWLINE# params = { #NEWLINE# #INDENT# 'host' : 'http://sixpack-ec2-01:8911' , #NEWLINE# #UNINDENT# } #NEWLINE# session = sixpack_client . Session ( options = params ) #NEWLINE# self . assertEqual ( params . host , 'http://sixpack-ec2-01:8911' )