From dc8d0e06920e5dafcfbd9bc9fd75fb6ef94b396f Mon Sep 17 00:00:00 2001 From: John Dickinson Date: Wed, 26 Dec 2012 13:41:46 -0800 Subject: [PATCH] Functional tests use x-auth-token rather than x-storage-token This change allows other auth systems to test against the functests but not require them to support x-storage-token (which was deprecated before swift was even open-sourced). All other places in the code where x-storage-token is used is only to populate x-auth-token if x-auth-token doesn't already exist. Change-Id: Ie903d0f7135fc643353b74a61c14becf7dfc4d9d --- test/functional/swift_test_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/swift_test_client.py b/test/functional/swift_test_client.py index 7b7619841b..3d1524c210 100644 --- a/test/functional/swift_test_client.py +++ b/test/functional/swift_test_client.py @@ -146,7 +146,7 @@ class Connection(object): for hdr in response.getheaders(): if hdr[0].lower() == "x-storage-url": storage_url = hdr[1] - elif hdr[0].lower() == "x-storage-token": + elif hdr[0].lower() == "x-auth-token": storage_token = hdr[1] if not (storage_url and storage_token):