diff options
| author | Brant Knudson <bknudson@us.ibm.com> | 2015-07-26 08:00:33 -0500 |
|---|---|---|
| committer | Brant Knudson <bknudson@us.ibm.com> | 2015-08-13 19:01:42 -0500 |
| commit | afcf4a163ea841c71c66e2fe2d8a2e97e8a10912 (patch) | |
| tree | 6b863160cc4b380b007ad2c2eb430b53249458d3 /keystoneclient/tests/unit/test_https.py | |
| parent | 58cc453b2030ba904be48feb0c95e0df4a4fc9ac (diff) | |
| download | python-keystoneclient-afcf4a163ea841c71c66e2fe2d8a2e97e8a10912.tar.gz | |
Deprecate use of cert and key
There was a comment to deprecate creating a Session with cert and
key rather than a tuple to cert.
Also, fixed places where the deprecated usage was being used.
bp deprecations
Change-Id: I3596635bbc5611dd002a8beb063540a8c284c192
Diffstat (limited to 'keystoneclient/tests/unit/test_https.py')
| -rw-r--r-- | keystoneclient/tests/unit/test_https.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/keystoneclient/tests/unit/test_https.py b/keystoneclient/tests/unit/test_https.py index bf93226..e04357a 100644 --- a/keystoneclient/tests/unit/test_https.py +++ b/keystoneclient/tests/unit/test_https.py @@ -29,7 +29,7 @@ RESPONSE_BODY = '{"hi": "there"}' def get_client(): cl = httpclient.HTTPClient(username="username", password="password", project_id="tenant", auth_url="auth_test", - cacert="ca.pem", key="key.pem", cert="cert.pem") + cacert="ca.pem", cert=('cert.pem', "key.pem")) return cl @@ -85,8 +85,8 @@ class ClientTest(utils.TestCase): MOCK_REQUEST.return_value = FAKE_RESPONSE cl = httpclient.HTTPClient( username="username", password="password", project_id="tenant", - auth_url="auth_test", cacert="ca.pem", key="key.pem", - cert="cert.pem") + auth_url="auth_test", cacert="ca.pem", cert=('cert.pem', 'key.pem') + ) cl.management_url = "https://127.0.0.1:5000" cl.auth_token = "token" with self.deprecations.expect_deprecations_here(): |
