#NEWLINE# def test_put_request_is_dlo_manifest_with_container_config_true( self ) : #NEWLINE# #INDENT# self . app . register ( 'PUT' , '/v1/a/c/o' , swob . HTTPCreated , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , 'passed' ) #NEWLINE# cache = FakeCache ( { #NEWLINE# #INDENT# 'versions' : 'ver_cont' , #NEWLINE# #UNINDENT# } ) #NEWLINE# req = Request . blank ( '/v1/a/c/o' , environ = { #NEWLINE# #INDENT# 'REQUEST_METHOD' : 'PUT' , #NEWLINE# 'swift.cache' : body , #NEWLINE# 'CONTENT_LENGTH' : '100' , #NEWLINE# #UNINDENT# } ) #NEWLINE# req . headers [ 'X-Object-Manifest' ] = 'req/manifest' #NEWLINE# ( status , headers , body ) = self . call_vw ( req ) #NEWLINE# self . assertEqual ( status , '201 Created' ) #NEWLINE# self . assertEqual ( len ( self . authorized ) , 1 ) #NEWLINE# self . assertRequestEqual ( req , self . authorized [ 0 ] ) #NEWLINE# self . assertEqual ( 1 , self . app . call_count )