#NEWLINE# def test_on_post_volume_create_v_type_exact_size_fail( self ) : #NEWLINE# #INDENT# self . body [ 'volume' ] [ 'size' ] = 1 #NEWLINE# ( client , env , req , resp ) = _set_up_req_resp_body ( body = json . dumps ( self . body ) ) #NEWLINE# set_SL_client ( req , operation = OP_CODE [ 'GOOD_PATH' ] [ 'CREATE_VOLUME' ] ) #NEWLINE# modify_expected = EXPECTED . copy ( ) #NEWLINE# me = modify_expected [ 'volume_types' ] [ 0 ] [ 'extra_specs' ] #NEWLINE# me [ 'drivers:exact_capacity' ] = True #NEWLINE# ( self . vtl , volume_types ) = _set_up_vol_types_vtl ( json . dumps ( modify_expected ) ) #NEWLINE# app = volumes . VolumesV1 ( volume_types ) #NEWLINE# app . on_post ( req , resp , TENANT_ID ) #NEWLINE# self . assertEquals ( resp . status , 400 )