From 59a3c8b058991d7144fa46e6d97be9bb5bb9deae Mon Sep 17 00:00:00 2001 From: josh7810 Date: Fri, 12 Aug 2016 15:16:11 -0500 Subject: [PATCH] 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 --- cloudroast/objectstorage/regression/features/temp_url_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudroast/objectstorage/regression/features/temp_url_test.py b/cloudroast/objectstorage/regression/features/temp_url_test.py index 7a5ba4ba..4cc0a313 100644 --- a/cloudroast/objectstorage/regression/features/temp_url_test.py +++ b/cloudroast/objectstorage/regression/features/temp_url_test.py @@ -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')}