diff --git a/doc/source/deploy.rst b/doc/source/deploy.rst index 0060199cfb..e4254bb42c 100644 --- a/doc/source/deploy.rst +++ b/doc/source/deploy.rst @@ -19,7 +19,7 @@ The Deployment Layer ==================== Represents a set of deployment engines. An each deployment engine provide some -kind of technique of installation of OpenStack. Alse there is an abstract base +kind of technique of installation of OpenStack. Also there is an abstract base class of deployment engine. The :mod:`rally.deploy.engine` Module diff --git a/rally/benchmark/base.py b/rally/benchmark/base.py index 05cc0af4ea..d9f2975b8d 100644 --- a/rally/benchmark/base.py +++ b/rally/benchmark/base.py @@ -71,7 +71,7 @@ class Scenario(object): @classmethod def init(cls, config): """This method will be called with test config. It purpose is to - prepare test enviorment. E.g. if you would like to test + prepare test environment. E.g. if you would like to test performance of assing of FloatingIps here you will create 200k FloatinigIps anre retun information about it to """ diff --git a/rally/benchmark/scenarios/cinder/volumes.py b/rally/benchmark/scenarios/cinder/volumes.py index a39b43b024..7b280fe737 100644 --- a/rally/benchmark/scenarios/cinder/volumes.py +++ b/rally/benchmark/scenarios/cinder/volumes.py @@ -22,7 +22,7 @@ class CinderVolumes(utils.CinderScenario): **kwargs): """Tests creating and then deleting a volume. - Good for testing a maximal bandwith of cloud. + Good for testing a maximal bandwidth of cloud. """ volume = self._create_volume(size, **kwargs) diff --git a/rally/consts.py b/rally/consts.py index 6f89166908..84a8b0b1fa 100644 --- a/rally/consts.py +++ b/rally/consts.py @@ -16,7 +16,7 @@ """ There is a lot of situation when we would like to work with Enum or consts. E.g. work around Tasks. We would like to use Enum in DB to store status of task -and also in migration that creates DB and in buisness logic to set some status +and also in migration that creates DB and in business logic to set some status so to avoid copy paste or dirrect usage of enums values we create singltons for each enum. (e.g TaskStatus) """ diff --git a/rally/deploy/engine.py b/rally/deploy/engine.py index 961cd801e5..8afdad6102 100644 --- a/rally/deploy/engine.py +++ b/rally/deploy/engine.py @@ -46,7 +46,7 @@ class EngineFactory(object): return {} # here should be endpoint def cleanup(self): - # Destory OpenStack deployment and free resource + # Destroy OpenStack deployment and free resource An instance of this class used as a context manager on any unsafe operations to a deployment. Any unhandled exceptions bring a status diff --git a/rally/serverprovider/provider.py b/rally/serverprovider/provider.py index b5b15d12bf..6ae229978a 100644 --- a/rally/serverprovider/provider.py +++ b/rally/serverprovider/provider.py @@ -142,7 +142,7 @@ class ProviderFactory(object): """Returns list of names of available engines.""" return [e.__name__ for e in utils.itersubclasses(ProviderFactory)] - # TODO(akscram): Unsed method. + # TODO(akscram): Unused method. def upload_image(self, file_path, disk_format, container_format): """Upload image that could be used in creating new vms. :file_path: Path to the file with image @@ -155,7 +155,7 @@ class ProviderFactory(object): """ raise NotImplementedError() - # TODO(akscram): Unsed method. + # TODO(akscram): Unused method. def destroy_image(self, image_uuid): """Destroy image by image indentificator.""" raise NotImplementedError() diff --git a/rally/utils.py b/rally/utils.py index 79813693d7..76e0d7d583 100644 --- a/rally/utils.py +++ b/rally/utils.py @@ -188,7 +188,7 @@ def log_task_wrapper(log, msg, **kw): Class instances that use this decorator should have self.task attribute. The wrapper produces logs messages both before and after the method - excecution, in the following format: + execution, in the following format: "Task | Starting: " [Method execution...] @@ -218,7 +218,7 @@ def log_deploy_wrapper(log, msg, **kw): Class instances that use this decorator should have self.deployment attribute. The wrapper produces logs messages both before and after - the method excecution, in the following format: + the method execution, in the following format: "Deployment | Starting: " [Method execution...] diff --git a/tests/fixtures/import/package/b.py b/tests/fixtures/import/package/b.py index bc7a5eab93..58075714b2 100644 --- a/tests/fixtures/import/package/b.py +++ b/tests/fixtures/import/package/b.py @@ -1,4 +1,4 @@ -'''Normal module that can be imported sucessfuly. +'''Normal module that can be imported successfully. '''