#NEWLINE# def test_default_of_spreading_first( self ) : #NEWLINE# #INDENT# hostinfo_list = self . _get_all_hosts ( ) #NEWLINE# weighed_host = self . _get_weighed_host ( hostinfo_list ) #NEWLINE# self . assertEqual ( 1.0 , weighed_host . weight ) #NEWLINE# self . assertEqual ( 'host4' , weighed_host . obj . host )