Wrong usage of "a"

Wrong usage of "a" in the mesages:
"This condition is to test for a entry"
"Creating a image"
"Waits for a interface to reach a given status."

Should be:
"This condition is to test for an entry"
"Creating an image"
"Waits for an interface to reach a given status."

Totally 3 occasions in Tempest base code.

Change-Id: I7c84ea3477bc02006a881981db77fdcf1f61a935
This commit is contained in:
hgangwx 2015-12-28 21:12:59 +08:00
parent 99da10d2e1
commit f186edc49c
3 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ class AttachInterfacesTestJSON(base.BaseV2ComputeTest):
cls.client = cls.os.interfaces_client
def wait_for_interface_status(self, server, port_id, status):
"""Waits for a interface to reach a given status."""
"""Waits for an interface to reach a given status."""
body = (self.client.show_interface(server, port_id)
['interfaceAttachment'])
interface_status = body['port_state']

View File

@ -147,7 +147,7 @@ class ListImagesTest(base.BaseV2ImageTest):
for disk_fmt in disk_fmts]
for (container_fmt, disk_fmt) in all_pairs[:6]:
LOG.debug("Creating a image"
LOG.debug("Creating an image"
"(Container format: %s, Disk format: %s).",
container_fmt, disk_fmt)
cls._create_standard_image(container_fmt, disk_fmt)

View File

@ -140,7 +140,7 @@ class TestServicesDecorator(BaseDecoratorsTest):
self.fail('%s is not listed in the valid service tag list'
% service)
except KeyError:
# NOTE(mtreinish): This condition is to test for a entry in
# NOTE(mtreinish): This condition is to test for an entry in
# the outer decorator list but not in the service_list dict.
# However, because we're looping over the service_list dict
# it's unlikely we'll trigger this. So manual review is still