From 21a841a00395c8ffd521457a53ff941a33559704 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Nov=C3=BD?= <ondrej.novy@firma.seznam.cz> Date: Tue, 5 Jan 2016 20:24:26 +0100 Subject: [PATCH] Fixed few misspellings in comments Change-Id: I29d891e2dc900eb93e703f77f4e56f68710a8955 --- tests/unit/test_service.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/unit/test_service.py b/tests/unit/test_service.py index 68184b28..003a51f8 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)