#NEWLINE# def test_new__instances_multi( self ) : #NEWLINE# #INDENT# config = get_collector_config ( 'ElasticSearchCollector' , { #NEWLINE# #INDENT# 'instances' : [ 'something' , 'foo@1234' , 'bar@bla:1234' ] , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . collector = ElasticSearchCollector ( config , None ) #NEWLINE# self . assertEqual ( self . collector . instances , { #NEWLINE# #INDENT# 'default' : ( 'something' , 9200 ) , #NEWLINE# 'foo' : ( '1234' , 9200 ) , #NEWLINE# 'bar' : ( 'bla' , 1234 ) , #NEWLINE# #UNINDENT# } )