#NEWLINE# def test_validate_volume_type_fail( self ) : #NEWLINE# #INDENT# incorrect_values_for_type = [ False , True , 0 , 1 , None , object ] #NEWLINE# for value in incorrect_values_for_type : #NEWLINE# #INDENT# self . fake_scheme [ 0 ] [ 'volumes' ] [ 1 ] [ 'type' ] = value #NEWLINE# self . assertRaises ( errors . WrongPartitionSchemeError , kssv . validate , self . fake_scheme , 'ironic' )