Skip to content

Instantly share code, notes, and snippets.

@bloodeagle40234
Created May 24, 2018 20:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bloodeagle40234/173286ed7333cdfa5527d2933ac62b22 to your computer and use it in GitHub Desktop.
Save bloodeagle40234/173286ed7333cdfa5527d2933ac62b22 to your computer and use it in GitHub Desktop.
======================================================================
ERROR: test_put_versioned_object_including_url_encoded_name_success (test.unit.common.middleware.test_versioned_writes.VersionedWritesTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/vagrant/swift/test/unit/common/middleware/test_versioned_writes.py", line 369, in test_put_versioned_object_including_url_encoded_name_success
status, headers, body = self.call_vw(req)
File "/vagrant/swift/test/unit/common/middleware/test_versioned_writes.py", line 96, in call_vw
return self.call_app(req, app=self.vw)
File "/vagrant/swift/test/unit/common/middleware/test_versioned_writes.py", line 89, in call_app
body_iter = app(req.environ, start_response)
File "/usr/local/lib/python2.7/dist-packages/swift/common/middleware/versioned_writes.py", line 832, in __call__
allow_versioned_writes)(env, start_response)
File "/usr/local/lib/python2.7/dist-packages/swift/common/middleware/versioned_writes.py", line 783, in object_request
object_name)
File "/usr/local/lib/python2.7/dist-packages/swift/common/middleware/versioned_writes.py", line 475, in handle_obj_versions_put
object_name)
File "/usr/local/lib/python2.7/dist-packages/swift/common/middleware/versioned_writes.py", line 434, in _copy_current
get_resp = self._get_source_object(req, req.path_info)
File "/usr/local/lib/python2.7/dist-packages/swift/common/middleware/versioned_writes.py", line 377, in _get_source_object
source_resp = get_req.get_response(self.app)
File "/usr/local/lib/python2.7/dist-packages/swift/common/swob.py", line 1018, in get_response
status, headers, app_iter = self.call_application(application)
File "/usr/local/lib/python2.7/dist-packages/swift/common/swob.py", line 1002, in call_application
app_iter = application(self.environ, start_response)
File "/vagrant/swift/test/unit/common/middleware/helpers.py", line 118, in __call__
(method, path),))
KeyError: "Didn't find ('GET', '/v1/a/c/\\xff') in allowed responses"
----------------------------------------------------------------------
Ran 45 tests in 0.120s
FAILED (errors=1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment