#NEWLINE# def test_aggregate_values_from_key( self ) : #NEWLINE# #INDENT# host_state = fakes . FakeHostState ( 'fake' , 'node' , { #NEWLINE# #INDENT# 'aggregates' : _AGGREGATE_FIXTURES , #NEWLINE# #UNINDENT# } ) #NEWLINE# values = utils . aggregate_values_from_key ( host_state , key_name = 'k1' ) #NEWLINE# self . assertEqual ( set ( [ '1' , '3' , '6,7' ] ) , values )