summaryrefslogtreecommitdiff
path: root/test-cli/test_main.py
diff options
context:
space:
mode:
Diffstat (limited to 'test-cli/test_main.py')
-rw-r--r--test-cli/test_main.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/test-cli/test_main.py b/test-cli/test_main.py
index 23250ca..3034e77 100644
--- a/test-cli/test_main.py
+++ b/test-cli/test_main.py
@@ -156,10 +156,11 @@ def main():
# flash non-volatile memory
resultmemory = 0
- if "image" in varlist and len(varlist["image"]) > 0:
- resultmemory = flash_memory(varlist["image"])
+ if ("flashimagepath" in varlist and len(varlist["flashimagepath"]) > 0:
+ resultmemory = flash_memory(varlist["flashimagepath"])
psdbObj.create_task_result(globalVar.taskid_ctl, "FLASHMEMORY",
- "TASK_OK" if resultmemory == 0 else "TASK_FAIL", varlist["image"])
+ "TASK_OK" if resultmemory == 0 else "TASK_FAIL",
+ varlist["flashimagepath"])
# update status with the result
if resulteeprom == 0 and resultmemory == 0: