summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndřej Nový <ondrej.novy@firma.seznam.cz>2016-01-05 20:24:26 +0100
committerOndřej Nový <ondrej.novy@firma.seznam.cz>2016-01-05 20:28:47 +0100
commit21a841a00395c8ffd521457a53ff941a33559704 (patch)
tree9a3662a6082ee6b9d477ca2d3b0311b8800c8e1d
parent62bfe10f58ce777a1b70549a641528b88f94f246 (diff)
downloadpython-swiftclient-21a841a00395c8ffd521457a53ff941a33559704.tar.gz
Fixed few misspellings in comments
Change-Id: I29d891e2dc900eb93e703f77f4e56f68710a8955
-rw-r--r--tests/unit/test_service.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/unit/test_service.py b/tests/unit/test_service.py
index 68184b2..003a51f 100644
--- a/tests/unit/test_service.py
+++ b/tests/unit/test_service.py
@@ -112,7 +112,7 @@ class TestSwiftReader(testtools.TestCase):
self.assertNotEqual(sr._actual_md5, None)
self.assertIs(type(sr._actual_md5), self.md5_type)
- # Check Contentlength raises error if it isnt an integer
+ # Check Contentlength raises error if it isn't an integer
self.assertRaises(SwiftError, self.sr, 'path', 'body',
{'content-length': 'notanint'})
@@ -453,16 +453,16 @@ class TestServiceUtils(testtools.TestCase):
def test_process_options_auth_version(self):
# auth_version should be set to 2.0
- # if it isnt already set to 3.0
+ # if it isn't already set to 3.0
# and the v1 command line arguments aren't present
opt_c = self.opts.copy()
- # Check v3 isnt changed
+ # Check v3 isn't changed
opt_c['auth_version'] = '3'
swiftclient.service.process_options(opt_c)
self.assertEqual(opt_c['auth_version'], '3')
- # Check v1 isnt changed if user, key and auth are set
+ # Check v1 isn't changed if user, key and auth are set
opt_c = self.opts.copy()
opt_c['auth_version'] = '1'
opt_c['auth'] = True
@@ -862,7 +862,7 @@ class TestServiceUpload(_TestServiceBase):
# Mock the connection to return an empty etag. This
# skips etag validation which would fail as the LengthWrapper
- # isnt read from.
+ # isn't read from.
mock_conn = mock.Mock()
mock_conn.put_object.return_value = ''
type(mock_conn).attempts = mock.PropertyMock(return_value=2)