#NEWLINE# def test_find_existing_disk_no_extra( self ) : #NEWLINE# #INDENT# fake_volumes = [ { #NEWLINE# #INDENT# 'id' : 'not_expected_disk' , #NEWLINE# 'type' : 'disk' , #NEWLINE# #UNINDENT# } , { #NEWLINE# #INDENT# 'id' : 'expected_disk' , #NEWLINE# 'type' : 'disk' , #NEWLINE# #UNINDENT# } ] #NEWLINE# disk_info = { #NEWLINE# #INDENT# 'disk' : 'expected_disk' , #NEWLINE# #UNINDENT# } #NEWLINE# self . check_expected_volume_found_for_disk ( disk_info , fake_volumes , fake_volumes [ 1 ] )