#NEWLINE# def test_get_filtered_hosts_with_force_nodes( self ) : #NEWLINE# #INDENT# fake_properties = objects . RequestSpec ( instance_uuid = 'fake-uuid' , ignore_hosts = [ ] , force_hosts = [ ] , force_nodes = [ 'fake-node2' , 'fake-node4' , 'fake-node9' ] ) #NEWLINE# info = { #NEWLINE# #INDENT# 'expected_objs' : [ self . fake_hosts [ 5 ] , self . fake_hosts [ 7 ] ] , #NEWLINE# 'expected_fprops' : fake_properties , #NEWLINE# #UNINDENT# } #NEWLINE# self . _mock_get_filtered_hosts ( info ) #NEWLINE# result = self . host_manager . get_filtered_hosts ( self . fake_hosts , fake_properties ) #NEWLINE# self . _verify_result ( info , result , False )