Create input argument instead of default value
Changes:
Remove default value and provide input argument
Tested:
NA
Change-Id: I662850a59f3d844502829dbb9d04c9e56f6e37a8
Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
diff --git a/lib/utils.py b/lib/utils.py
index 50244bb..d9d39a3 100644
--- a/lib/utils.py
+++ b/lib/utils.py
@@ -204,12 +204,17 @@
return vf.outbuf_to_report(out_buf)
-def get_sbe():
+def get_sbe(cfam_addrs):
r"""
Return CFAM value which contains such things as SBE side bit.
+
+ Description of argument(s):
+ cfam_addrs Provide the CFAM address
"""
- cmd_buf = "pdbg -d p9w -p0 getcfam 0x2808 | sed -re 's/.* = //g'"
+ cmd_buf = (
+ "pdbg -d p9w -p0 getcfam " + cfam_addrs + " | sed -re 's/.* = //g'"
+ )
out_buf, stderr, rc = bsu.bmc_execute_command(cmd_buf)
return int(out_buf, 16)
diff --git a/test_lists/skip_test_witherspoon b/test_lists/skip_test_witherspoon
index d2a121f..ab9af9b 100644
--- a/test_lists/skip_test_witherspoon
+++ b/test_lists/skip_test_witherspoon
@@ -9,7 +9,7 @@
--exclude Test_Heartbeat_LED_And_Verify_Via_REST
--exclude Test_Beep_LED_And_Verify_Via_REST
--exclude Test_Identify_LED_And_Verify_Via_REST
-# NXDMAENG UE error injection is not available in latest p9dd1ffdcv104.xlsm
+# NXDMAENG UE error injection is not available in RAS specification.
--exclude Verify_Unrecoverable_Callout_Handling_For_NXDMAENG
# NA test case with nginx support.
--exclude Test_Non_SSL_Connection_To_Port_80