#NEWLINE# @ classmethod #NEWLINE# def fake_service_get_by_compute_host( cls , context , host ) : #NEWLINE# #INDENT# for service in test_hypervisors . TEST_SERVICES : #NEWLINE# #INDENT# if ( service . host == host ) : #NEWLINE# #INDENT# return service