#NEWLINE# def test_set_mtu_invalid_value_raises_value_error( self ) : #NEWLINE# #INDENT# for intf in self . INTERFACES : #NEWLINE# #INDENT# for value in [ 67 , 65536 , random_string ( ) ] : #NEWLINE# #INDENT# func = function ( 'set_mtu' , intf , value ) #NEWLINE# self . eapi_exception_config_test ( func , ValueError ) #NEWLINE# #UNINDENT# for value in [ None ] : #NEWLINE# #INDENT# cmds = [ ( 'interface %s' % intf ) , 'no mtu' ] #NEWLINE# func = function ( 'set_mtu' , intf , func ) #NEWLINE# self . eapi_positive_config_test ( func , cmds )