From: ramakris Date: Thu, 27 Feb 2014 09:26:15 +0000 (+0000) Subject: Typo corrections for test files in cinder X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=1f50d1a296018eabfdbf57ead20ec3ba1051e086;p=openstack-build%2Fcinder-build.git Typo corrections for test files in cinder 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 --- diff --git a/cinder/tests/api/contrib/test_backups.py b/cinder/tests/api/contrib/test_backups.py index 4241ab977..432db8f0d 100644 --- a/cinder/tests/api/contrib/test_backups.py +++ b/cinder/tests/api/contrib/test_backups.py @@ -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'}] diff --git a/cinder/tests/test_migrations.py b/cinder/tests/test_migrations.py index 4ca4799e7..e930ee98c 100644 --- a/cinder/tests/test_migrations.py +++ b/cinder/tests/test_migrations.py @@ -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 diff --git a/cinder/tests/test_netapp.py b/cinder/tests/test_netapp.py index 981e83c48..ab03e4c22 100644 --- a/cinder/tests/test_netapp.py +++ b/cinder/tests/test_netapp.py @@ -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