#NEWLINE# def _gen_fake_hosts( self ) : #NEWLINE# #INDENT# host1 = fakes . FakeSolverSchedulerHostState ( 'host1' , 'node1' , { #NEWLINE# #INDENT# 'vcpus_total' : 4 , #NEWLINE# 'vcpus_used' : 2 , #NEWLINE# #UNINDENT# } ) #NEWLINE# host2 = fakes . FakeSolverSchedulerHostState ( 'host2' , 'node1' , { #NEWLINE# #INDENT# 'vcpus_total' : 8 , #NEWLINE# 'vcpus_used' : 2 , #NEWLINE# #UNINDENT# } ) #NEWLINE# host3 = fakes . FakeSolverSchedulerHostState ( 'host3' , 'node1' , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# hosts = [ host1 , host2 , host3 ] #NEWLINE# return hosts