#NEWLINE# def test_on_post_volume_create_v_type_present_name_valid( self ) : #NEWLINE# #INDENT# ( 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# ( self . vtl , volume_types ) = _set_up_vol_types_vtl ( json . dumps ( EXPECTED ) ) #NEWLINE# app = volumes . VolumesV1 ( volume_types ) #NEWLINE# app . on_post ( self , resp , TENANT_ID ) #NEWLINE# self . assertEquals ( list ( resp . body . keys ( ) ) , [ 'volume' ] ) #NEWLINE# self . assertEquals ( resp . status , 202 )