Update code documentation in test files
Changes:
- Remove or replace comments from code
Tested:
- NA
Change-Id: If4513dfe85682aa836c083cf47b0adc799c8c851
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/gen_cmd.py b/lib/gen_cmd.py
index 03e8a11..acff5f8 100644
--- a/lib/gen_cmd.py
+++ b/lib/gen_cmd.py
@@ -654,10 +654,10 @@
my_pgm -i -m 1 --password="${my_pw}" /tmp/myfile
command_string = create_command_string('ipmitool', 'power status',
- I='lanplus', C='3', 'p=623', U='root', P='0penBmc', H='xx.xx.xx.xx')
+ I='lanplus', C='3', 'p=623', U='root', P='********', H='xx.xx.xx.xx')
Result:
- ipmitool -I lanplus -C 3 -p 623 -U root -P 0penBmc -H xx.xx.xx.xx power status
+ ipmitool -I lanplus -C 3 -p 623 -U root -P ********* -H xx.xx.xx.xx power status
By default create_command_string will take measures to preserve the order of the callers options. In
some cases, this effort may fail (as when calling directly from a robot program). In this case, the
diff --git a/lib/ipmi_client.robot b/lib/ipmi_client.robot
index 6bc928c..264940f 100755
--- a/lib/ipmi_client.robot
+++ b/lib/ipmi_client.robot
@@ -393,7 +393,7 @@
# Description of argument(s):
# username The user name (e.g. "root", "robert", etc.).
- # password The user password (e.g. "0penBmc", "0penBmc1", etc.).
+ # password The user password.
${output}= Wait Until Keyword Succeeds 15 sec 5 sec Run External IPMI Standard Command
... sel info U=${username} P=${password}