diff --git a/test/functional/test_container.py b/test/functional/test_container.py index 3a6e1b958e..6ff1314c48 100755 --- a/test/functional/test_container.py +++ b/test/functional/test_container.py @@ -1416,7 +1416,7 @@ class TestContainer(unittest.TestCase): self.assertEquals(headers.get('x-storage-policy'), policy['name']) - # and test recreate with-out specifiying Storage Policy + # and test recreate with-out specifying Storage Policy resp = retry(put) resp.read() self.assertEqual(resp.status, 202) diff --git a/test/unit/account/test_backend.py b/test/unit/account/test_backend.py index 21fe2acf0b..d98b803966 100644 --- a/test/unit/account/test_backend.py +++ b/test/unit/account/test_backend.py @@ -1050,7 +1050,7 @@ class TestAccountBrokerBeforeSPI(TestAccountBroker): self.assertEqual(len(called), 1) self.assert_('CREATE TABLE policy_stat' in called[0]) - # nothing was commited + # nothing was committed broker = AccountBroker(db_path, account='a') with broker.get() as conn: try: diff --git a/test/unit/common/test_utils.py b/test/unit/common/test_utils.py index 1ea3a2dcec..1b785da181 100644 --- a/test/unit/common/test_utils.py +++ b/test/unit/common/test_utils.py @@ -446,7 +446,7 @@ class TestTimestamp(unittest.TestCase): self.assertTrue(float(timestamp) < maximum, '%f is not smaller than %f given %r' % ( timestamp, maximum, value)) - # direct comparision of timestamp works too + # direct comparison of timestamp works too self.assertTrue(timestamp > minimum, '%s is not bigger than %f given %r' % ( timestamp.normal, minimum, value)) diff --git a/test/unit/container/test_reconciler.py b/test/unit/container/test_reconciler.py index fe1bc18a86..ca01dafc20 100644 --- a/test/unit/container/test_reconciler.py +++ b/test/unit/container/test_reconciler.py @@ -849,7 +849,7 @@ class TestReconciler(unittest.TestCase): self.assertEqual(self.reconciler.stats['unavailable_container'], 1) # we don't clean up anything self.assertEqual(self.reconciler.stats['cleanup_object'], 0) - # and we definately should not pop_queue + # and we definitely should not pop_queue self.assertFalse(deleted_container_entries) self.assertEqual(self.reconciler.stats['retry'], 1) @@ -1001,7 +1001,7 @@ class TestReconciler(unittest.TestCase): delete_headers.get('X-Backend-Storage-Policy-Index'), '1') # and when we're done, we pop the entry from the queue self.assertEqual(self.reconciler.stats['pop_queue'], 1) - # this mock recieved the name, it's encoded down in buffered_http + # this mock received the name, it's encoded down in buffered_http self.assertEqual(deleted_container_entries, [('.misplaced_objects', '3600', '1:/%s' % obj_name)]) self.assertEqual(self.reconciler.stats['success'], 1) diff --git a/test/unit/container/test_server.py b/test/unit/container/test_server.py index e96b443b52..bbab114913 100644 --- a/test/unit/container/test_server.py +++ b/test/unit/container/test_server.py @@ -586,7 +586,7 @@ class TestContainerController(unittest.TestCase): self.assertEqual(resp.headers['X-Backend-Storage-Policy-Index'], str(non_default_policy.idx)) - # put again without specifiying the storage policy + # put again without specifying the storage policy req = Request.blank('/sda1/p/a/c', method='PUT', headers={ 'X-Timestamp': ts.next(), })