Fix truly awful spelling mistakes
This commit is contained in:
@@ -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::
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ the bundle.
|
||||
In addition to the specified bundle the overlay template directory will be
|
||||
searched for a corresponding template (\<bundle\_name\>.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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user