#NEWLINE# def testWrongNames( self ) : #NEWLINE# #INDENT# disks = self . _MakeDisks ( [ 'disk/1' , 'disk/3' , 'disk/2' ] ) #NEWLINE# self . assertEqual ( config . _CheckInstanceDiskIvNames ( disks ) , [ ( 0 , 'disk/0' , 'disk/1' ) , ( 1 , 'disk/1' , 'disk/3' ) ] ) #NEWLINE# _UpdateIvNames ( 0 , disks ) #NEWLINE# self . assertEqual ( config . _CheckInstanceDiskIvNames ( disks ) , [ ] )