Fix for Requests Change

* Requests will no longer accept non-string
  values for headers. Changed the test
  create_object_manifest_with_tempurl to
  work as such.

Change-Id: I48fcc140af315fece5acc2038fa43976982ff540
This commit is contained in:
josh7810 2016-08-12 15:16:11 -05:00
parent 1f42ddd6df
commit 59a3c8b058
1 changed files with 1 additions and 1 deletions

View File

@ -1033,7 +1033,7 @@ class TempUrlTest(ObjectStorageFixture):
TEMPURL_KEY_LIFE,
self.tempurl_key)
headers = {'Content-Length': 0,
headers = {'Content-Length': "0",
'X-Object-Manifest': '{0}/e'.format(exploit_container_name)}
params = {'temp_url_sig': tempurl_data.get('signature'),
'temp_url_expires': tempurl_data.get('expires')}