提交 003c4ca5 编写于 作者: A Amador Pahim

spell: comply with new checks

make spell is now covering more cases. This patch fixes the actual spell
errors and adds the required exceptions.
Signed-off-by: NAmador Pahim <apahim@redhat.com>
上级 17554539
......@@ -110,7 +110,7 @@ class TestAbortError(TestBaseException):
class TestSkipError(TestBaseException):
"""
Indictates that the test is skipped.
Indicates that the test is skipped.
Should be thrown when various conditions are such that the test is
inappropriate. For example, inappropriate architecture, wrong OS version,
......@@ -122,7 +122,7 @@ class TestSkipError(TestBaseException):
class TestSetupSkip(TestBaseException):
"""
Indictates that the test is skipped in setUp().
Indicates that the test is skipped in setUp().
Should be thrown when skip() is used in setUp().
"""
......
......@@ -149,7 +149,7 @@ def retrieve_cmdline(resultsdir):
"""
recorded_cmdline = _retrieve(resultsdir, CMDLINE_FILENAME)
if recorded_cmdline is None:
# Attemp to restore cmdline from log
# Attempt to restore cmdline from log
try:
with open(os.path.join(resultsdir, "job.log"), "r") as log:
import re
......
......@@ -112,7 +112,7 @@ class Command(Collectible):
:param cmd: String with the command.
:param logf: Basename of the file where output is logged (optional).
:param compress_logf: Wether to compress the output of the command.
:param compress_logf: Whether to compress the output of the command.
"""
def __init__(self, cmd, logf=None, compress_log=False):
......@@ -184,7 +184,7 @@ class Daemon(Command):
:param cmd: String with the daemon command.
:param logf: Basename of the file where output is logged (optional).
:param compress_logf: Wether to compress the output of the command.
:param compress_logf: Whether to compress the output of the command.
"""
def run(self, logdir):
......@@ -364,7 +364,7 @@ class SysInfo(object):
logging packages is a costly operation). If not
given explicitly, tries to look in the config
files, and if not found, defaults to False.
:param profiler: Wether to use the profiler. If not given explicitly,
:param profiler: Whether to use the profiler. If not given explicitly,
tries to look in the config files.
"""
if basedir is None:
......
......@@ -54,7 +54,7 @@ def find_free_port(start_port, end_port, address="localhost", sequent=True):
:param start_port: header of candidate port range
:param end_port: ender of candidate port range
:param sequent: Find port sequently, random order if it's False
:param sequent: Find port sequentially, random order if it's False
:param address: Socket address to bind or connect
"""
port_range = range(start_port, end_port)
......@@ -75,7 +75,7 @@ def find_free_ports(start_port, end_port, count, address="localhost", sequent=Tr
:param end_port: ender of candidate port range
:param count: Initial number of ports known to be free in the range.
:param address: Socket address to bind or connect
:param sequent: Find port sequently, random order if it's False
:param sequent: Find port sequentially, random order if it's False
"""
ports = []
......
......@@ -1100,7 +1100,7 @@ def split_gdb_expr(expr):
def should_run_inside_gdb(cmd):
"""
Wether the given command should be run inside the GNU debugger
Whether the given command should be run inside the GNU debugger
:param cmd: the command arguments, from where we extract the binary name
"""
......@@ -1124,7 +1124,7 @@ def should_run_inside_gdb(cmd):
def should_run_inside_wrapper(cmd):
"""
Wether the given command should be run inside the wrapper utility.
Whether the given command should be run inside the wrapper utility.
:param cmd: the command arguments, from where we extract the binary name
"""
......
......@@ -58,7 +58,7 @@ class TestAsset(unittest.TestCase):
with open(new_localpath, 'w') as f:
f.write('Changed!')
# Dont expire cached file
# Don't expire cached file
foo_tarball = asset.Asset(self.assetname,
asset_hash=self.assethash,
algorithm='sha1',
......
......@@ -453,3 +453,99 @@ dm
boolean
inspektor
subtests
lucas
meneghel
rodrigues
lukas
doktor
ruda
moura
amador
pahim
rosa
distropkginfoloader
distrodefinitionloader
distrodef
travis
testclass
extensionmanager
jobpre
jobpost
joberror
admanski
basename
bligh
andy
whitcroft
methodname
teardown
testid
testfail
cmdresult
ademar
reis
testerror
multiprocess
jaime
huerta
cepas
treenode
getlogger
streamhandler
cpython
jython
santhosh
kernelbuild
uncompress
rajashree
archivefile
ender
sequent
yiqiao
cmdnotfounderror
opensuse
linuxdistro
roundkb
param
temporaryscript
higor
vieira
alves
ramon
carvalho
valle
rpmbuild
harish
alex
martelli's
unregister
commandresult
popen
cmderror
plamen
dimitrov
franklin
boston
pandey
narasimhan
kleber
sacilotto
souza
daniel
fcoe
sysv
aycock
earley
carnegie
mellon
victoria
horspool
blech
addrule
collectrules
michael
eddington
nosuchprocess
macos
errno
greek
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册