From 0a8ac0faa408062fde9b34a51e1f9f23405c8378 Mon Sep 17 00:00:00 2001 From: Liam Young Date: Wed, 6 Jun 2018 10:22:14 +0100 Subject: [PATCH] Fix truly awful spelling mistakes --- doc/source/addingcharmtests.rst | 8 ++++---- doc/source/runningcharmtests.rst | 6 +++--- zaza/charm_lifecycle/configure.py | 2 +- zaza/charm_lifecycle/test.py | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/source/addingcharmtests.rst b/doc/source/addingcharmtests.rst index 06edc68..58846ec 100644 --- a/doc/source/addingcharmtests.rst +++ b/doc/source/addingcharmtests.rst @@ -33,8 +33,8 @@ The bundles live in tests/bundles of the built charm, eg:: The bundle may include overlay templates which are, currently, populated from environment variables. For example the xenial-ha template needs a VIP but -the VIP will depend on the setup of the juju providor so will be different -between test environments. To accomadate this an overlay is added:: +the VIP will depend on the setup of the juju provider so will be different +between test environments. To accommodate this an overlay is added:: tests/bundles/overlays/xenial-ha.yaml.j2 @@ -86,7 +86,7 @@ directory, named after the charm, inside **zaza/charm_tests**. Within the new directory define the tests in **tests.py** and any setup code in **setup.py** This code can then be referenced in the charms **tests.yaml** -eg to add support for a new congress charm create a new directory in zaza:: +e.g. to add support for a new congress charm create a new directory in zaza:: mkdir zaza/charm_tests/congress @@ -104,7 +104,7 @@ Add test code into tests.py:: policy = congress.create_policy() self.assertTrue(policy) -These now need to be refenced in the congress charms tests.yaml. Additional +These now need to be referenced in the congress charms tests.yaml. Additional setup is needed to run a useful congress tests, so congress' tests.yaml might look like:: diff --git a/doc/source/runningcharmtests.rst b/doc/source/runningcharmtests.rst index 6430780..1e5ec7e 100644 --- a/doc/source/runningcharmtests.rst +++ b/doc/source/runningcharmtests.rst @@ -45,7 +45,7 @@ the bundle. In addition to the specified bundle the overlay template directory will be searched for a corresponding template (\.j2). If one is found then the overlay will be rendered using environment variables a specific set -of environment variables as conext. Currently these are: +of environment variables as context. Currently these are: * FIP\_RANGE * GATEWAY @@ -87,7 +87,7 @@ To run manually:: -h, --help show this help message and exit -c CONFIGFUNCS, --configfuncs CONFIGFUNCS - Space sperated list of config functions + Space separated list of config functions 4) Test @@ -105,7 +105,7 @@ To run manually:: optional arguments: -h, --help show this help message and exit -t TESTS, --tests TESTS - Space sperated list of test classes + Space separated list of test classes 5) Collect diff --git a/zaza/charm_lifecycle/configure.py b/zaza/charm_lifecycle/configure.py index 946d6d5..7ff17fa 100644 --- a/zaza/charm_lifecycle/configure.py +++ b/zaza/charm_lifecycle/configure.py @@ -36,7 +36,7 @@ def parse_args(args): """ parser = argparse.ArgumentParser() parser.add_argument('-c', '--configfuncs', nargs='+', - help='Space sperated list of config functions', + help='Space separated list of config functions', required=False) parser.add_argument('-m', '--model-name', help='Name of model to remove', required=True) diff --git a/zaza/charm_lifecycle/test.py b/zaza/charm_lifecycle/test.py index c0be26e..65c8f6b 100644 --- a/zaza/charm_lifecycle/test.py +++ b/zaza/charm_lifecycle/test.py @@ -37,7 +37,7 @@ def parse_args(args): """ parser = argparse.ArgumentParser() parser.add_argument('-t', '--tests', nargs='+', - help='Space sperated list of test classes', + help='Space separated list of test classes', required=False) parser.add_argument('-m', '--model-name', help='Name of model to remove', required=True)