]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Typo corrections for test files in cinder
authorramakris <rama.kri.b@hp.com>
Thu, 27 Feb 2014 09:26:15 +0000 (09:26 +0000)
committerramakris <rama.kri.b@hp.com>
Mon, 3 Mar 2014 08:52:12 +0000 (08:52 +0000)
Correct the typo from follow code files:

cinder/tests/api/contrib/test_backups.py
cinder/tests/test_migrations.py
cinder/tests/test_netapp.py

Change-Id: I6aeddfee36ecd101264d73d2e90686df683cc29d

cinder/tests/api/contrib/test_backups.py
cinder/tests/test_migrations.py
cinder/tests/test_netapp.py

index 4241ab9773d63c40fbc19c1bdea53b684ca89617..432db8f0df29144eda0f084d7c89e232f7ab0cbd 100644 (file)
@@ -517,7 +517,7 @@ class BackupsAPITestCase(test.TestCase):
                              'disabled': 1,
                              'updated_at': timeutils.utcnow()}]
 
-        #dead service that last reported at 20th centry
+        #dead service that last reported at 20th century
         dead_service = [{'availability_zone': "fake_az", 'host': alt_host,
                          'disabled': 0, 'updated_at': '1989-04-16 02:55:44'}]
 
index 4ca4799e7311004f883f37b2fd2e5aadbb0de052..e930ee98ca48e67af559799cc938fade0aa0234d 100644 (file)
@@ -263,7 +263,7 @@ class TestMigrations(test.TestCase):
     def test_mysql_innodb(self):
         """Test that table creation on mysql only builds InnoDB tables."""
         # add this to the global lists to make reset work with it, it's removed
-        # automaticaly in tearDown so no need to clean it up here.
+        # automatically in tearDown so no need to clean it up here.
         connect_string = _get_connect_string('mysql')
         engine = sqlalchemy.create_engine(connect_string)
         self.engines["mysqlcitest"] = engine
index 981e83c48da221b0f9bb810ead48e4f64f858db8..ab03e4c22648f160603966e6349843bcdad5b7a1 100644 (file)
@@ -464,7 +464,7 @@ class FakeDirectCmodeHTTPConnection(object):
         if data:
             req_str += '\r\n%s' % data
 
-        # NOTE(vish): normally the http transport normailizes from unicode
+        # NOTE(vish): normally the http transport normalizes from unicode
         sock = FakeHttplibSocket(req_str.decode("latin-1").encode("utf-8"))
         # NOTE(vish): stop the server from trying to look up address from
         #             the fake socket