#NEWLINE# def test_network_create_not_extended( self ) : #NEWLINE# #INDENT# self . stubs . Set ( self . controller , 'extended' , False ) #NEWLINE# def no_mtu( * args , **kwargs ) : #NEWLINE# #INDENT# if ( 'mtu' in kwargs ) : #NEWLINE# #INDENT# raise test . TestingException ( 'mtu should not pass through' ) #NEWLINE# #UNINDENT# return [ { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ] #NEWLINE# #UNINDENT# self . stubs . Set ( self . controller . network_api , 'create' , self ) #NEWLINE# self . new_network [ 'network' ] [ 'mtu' ] = 9000 #NEWLINE# self . controller . create ( self . req , body = self . new_network )