From 0cda69f6a591a0ad6a3e4c23ddbab965d11a51f8 Mon Sep 17 00:00:00 2001 From: Shane Wang Date: Fri, 7 Feb 2014 13:31:07 +0800 Subject: [PATCH] Fix misspellings in python-glanceclient Fix misspellings detected by: * pip install misspellings * git ls-files | grep -v locale | misspellings -f - Change-Id: I504521e702c675640ab3869c608fa96edd2477b4 Closes-Bug: #1257295 --- glanceclient/common/exceptions.py | 2 +- tests/test_ssl.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/glanceclient/common/exceptions.py b/glanceclient/common/exceptions.py index 583a130..64cc01e 100644 --- a/glanceclient/common/exceptions.py +++ b/glanceclient/common/exceptions.py @@ -1,3 +1,3 @@ -# This is here for compatability purposes. Once all known OpenStack clients +# This is here for compatibility purposes. Once all known OpenStack clients # are updated to use glanceclient.exc, this file should be removed from glanceclient.exc import * diff --git a/tests/test_ssl.py b/tests/test_ssl.py index 6c3fd9c..569fabb 100644 --- a/tests/test_ssl.py +++ b/tests/test_ssl.py @@ -44,7 +44,7 @@ class TestVerifiedHTTPSConnection(testtools.TestCase): def test_ssl_init_cert_no_key(self): """ - Test VerifiedHTTPSConnection: absense of SSL key file. + Test VerifiedHTTPSConnection: absence of SSL key file. """ cert_file = os.path.join(TEST_VAR_DIR, 'certificate.crt') cacert = os.path.join(TEST_VAR_DIR, 'ca.crt') @@ -58,7 +58,7 @@ class TestVerifiedHTTPSConnection(testtools.TestCase): def test_ssl_init_key_no_cert(self): """ - Test VerifiedHTTPSConnection: absense of SSL cert file. + Test VerifiedHTTPSConnection: absence of SSL cert file. """ key_file = os.path.join(TEST_VAR_DIR, 'privatekey.key') cacert = os.path.join(TEST_VAR_DIR, 'ca.crt')