#NEWLINE# def _generate_fake_constraint_input( self ) : #NEWLINE# #INDENT# self . fake_filter_properties = { #NEWLINE# #INDENT# 'instance_uuids' : [ ( 'fake_uuid_%s' % x ) for x in range ( 3 ) ] , #NEWLINE# 'num_instances' : 3 , #NEWLINE# #UNINDENT# } #NEWLINE# host1 = fakes . FakeSolverSchedulerHostState ( 'host1' , 'node1' , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# host2 = fakes . FakeSolverSchedulerHostState ( 'host2' , 'node1' , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# self . fake_hosts = [ host1 , host2 ]