Fix misspelled words in docs and comments

This commit fixes some misspelled words. We should fix them as possible.

Change-Id: I7bfb56f5daad7e82c60a99498067b42fc19ea35c
This commit is contained in:
Masayuki Igawa 2014-11-07 14:07:03 +01:00
parent 38f8500eb4
commit 5bb3ef57a0
3 changed files with 4 additions and 4 deletions

View File

@ -26,7 +26,7 @@ Usage
DB Setup DB Setup
-------- --------
The usage of subunit2ql is split into 2 stages. First you need to prepare a The usage of subunit2sql is split into 2 stages. First you need to prepare a
database with the proper schema; subunit2sql-db-manage should be used to do database with the proper schema; subunit2sql-db-manage should be used to do
this. The utility requires db connection info which can be specified on the this. The utility requires db connection info which can be specified on the
command or with a config file. Obviously the sql connector type, user, command or with a config file. Obviously the sql connector type, user,

View File

@ -80,7 +80,7 @@ def create_run(skips=0, fails=0, passes=0, run_time=0, artifacts=None,
session=None): session=None):
"""Create a new run record in the database """Create a new run record in the database
:param skips: total number of skiped tests :param skips: total number of skipped tests
:param fails: total number of failed tests :param fails: total number of failed tests
:param passes: total number of passed tests :param passes: total number of passed tests
:param run_time: total run time :param run_time: total run time

View File

@ -62,7 +62,7 @@ class ReadSubunit(object):
metadata['attrs'] = attrs metadata['attrs'] = attrs
if test['tags']: if test['tags']:
metadata['tags'] = test['tags'] metadata['tags'] = test['tags']
# Return code is a a fail don't process it # Return code is a fail don't process it
if name == 'process-returncode': if name == 'process-returncode':
return return
timestamps = test['timestamps'] timestamps = test['timestamps']
@ -90,7 +90,7 @@ class ReadSubunit(object):
Make it possible to strip out the testscenarios information (not to Make it possible to strip out the testscenarios information (not to
be confused with tempest scenarios) however that's often needed to be confused with tempest scenarios) however that's often needed to
indentify generated negative tests. identify generated negative tests.
""" """
if strip_tags: if strip_tags:
tags_start = name.find('[') tags_start = name.find('[')