Test documentation typo fixes using codespell tool
Changes:
- Fix typo in code documentation and test name
Tested: - Using codespell tool.
Change-Id: Ia1b65bddc01a4b1c103af9f2094d87da11c88953
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/common_utils.robot b/lib/common_utils.robot
index c3b217c..2ec9d85 100755
--- a/lib/common_utils.robot
+++ b/lib/common_utils.robot
@@ -345,7 +345,7 @@
... ${targ_file_path}=${EXECDIR}${/}logs${/}
... ${return_data}=${1}
- # If there are muliple system console processes, they will all be stopped.
+ # If there are multiple system console processes, they will all be stopped.
# If there is no existing log file this keyword will return an error
# message to that effect (and write that message to targ_file_path, if
# specified).
diff --git a/lib/dump_utils.py b/lib/dump_utils.py
index ee70850..1f00683 100755
--- a/lib/dump_utils.py
+++ b/lib/dump_utils.py
@@ -12,7 +12,6 @@
import gen_misc as gm
import gen_print as gp
import gen_robot_keyword as grk
-import var_funcs as vf
from robot.libraries.BuiltIn import BuiltIn
base_path = (
@@ -107,7 +106,7 @@
Description of argument(s):
targ_dir_path The path of the directory to receive the
dump files.
- targ_file_prefix Prefix which will be pre-pended to each
+ targ_file_prefix Prefix which will be prepended to each
target file's name.
dump_dict A dump dictionary such as the one returned
by get_dump_dict. If this value is None,
diff --git a/lib/gen_print.py b/lib/gen_print.py
index 8372832..3f1a1fd 100755
--- a/lib/gen_print.py
+++ b/lib/gen_print.py
@@ -1986,7 +1986,7 @@
replace_dict Please see the create_func_def_string function in wrap_utils.py for
details on this parameter. This parameter will be passed directly to
create_func_def_string.
- func_prefix Prefix to be pre-pended to the generated function name.
+ func_prefix Prefix to be prepended to the generated function name.
"""
buffer = ""
diff --git a/lib/gen_robot_valid.py b/lib/gen_robot_valid.py
index d1e8d23..c25d9ab 100755
--- a/lib/gen_robot_valid.py
+++ b/lib/gen_robot_valid.py
@@ -73,7 +73,7 @@
BuiltIn().fail(error_message)
-# The docstring header will be pre-pended to each validation function's existing docstring.
+# The docstring header will be prepended to each validation function's existing docstring.
docstring_header = r"""
Fail if the variable named by var_name is invalid.
"""
diff --git a/lib/ipmi_client.py b/lib/ipmi_client.py
index 7d4e582..243df4e 100644
--- a/lib/ipmi_client.py
+++ b/lib/ipmi_client.py
@@ -144,7 +144,7 @@
def process_ipmi_user_options(command):
r"""
- Return the buffer with any ipmi_user_options pre-pended.
+ Return the buffer with any ipmi_user_options prepended.
Description of argument(s):
command An IPMI command (e.g. "power status").
diff --git a/lib/pel_utils.py b/lib/pel_utils.py
index a0c52be..9899478 100644
--- a/lib/pel_utils.py
+++ b/lib/pel_utils.py
@@ -180,7 +180,7 @@
)
except Exception as e:
raise peltool_exception(
- "Exception occured during PEL and Event log "
+ "Exception occurred during PEL and Event log "
"comparison for SRC or event ID and created "
"time : "
+ str(e)
diff --git a/lib/rest_client.robot b/lib/rest_client.robot
index d5462fd..c82087f 100644
--- a/lib/rest_client.robot
+++ b/lib/rest_client.robot
@@ -210,7 +210,7 @@
... X-Auth-Token=${XAUTH_TOKEN}
${data}= Create dictionary data=@{EMPTY}
- # If there is no active sesion it will throw the following exception
+ # If there is no active session it will throw the following exception
# "Non-existing index or alias 'openbmc'"
${resp}= POST On Session openbmc
... /logout json=${data} headers=${headers}