summaryrefslogtreecommitdiff
path: root/test-cli/test/helpers
diff options
context:
space:
mode:
authorHector Fernandez <hector@iatec.biz>2020-03-19 16:33:53 +0100
committerHector Fernandez <hector@iatec.biz>2020-03-19 21:31:03 +0100
commit686893803c05fedd38a24bb1f661f8aeb7c652fe (patch)
tree3f60b19c678b7c10a3c991db8feacb092e868207 /test-cli/test/helpers
parentf013d0a76976a52fce979036df404826dcbf385b (diff)
downloadboard-686893803c05fedd38a24bb1f661f8aeb7c652fe.zip
board-686893803c05fedd38a24bb1f661f8aeb7c652fe.tar.gz
board-686893803c05fedd38a24bb1f661f8aeb7c652fe.tar.bz2
Fixed problem generating dataepprom string.
Diffstat (limited to 'test-cli/test/helpers')
-rw-r--r--test-cli/test/helpers/testsrv_db.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test-cli/test/helpers/testsrv_db.py b/test-cli/test/helpers/testsrv_db.py
index 27024ce..bf51acf 100644
--- a/test-cli/test/helpers/testsrv_db.py
+++ b/test-cli/test/helpers/testsrv_db.py
@@ -137,8 +137,8 @@ class TestSrv_Database(object):
# print(r)
return None
- def create_task_result(self, taskid_ctl, name, newstatus, info=None):
- sql = "SELECT isee.f_create_task_result({},'{}','{}','{}')".format(taskid_ctl, name, newstatus, info)
+ def create_task_result(self, taskid_ctl, name, newstatus, newinfo=None):
+ sql = "SELECT isee.f_create_task_result({},'{}','{}','{}')".format(taskid_ctl, name, newstatus, newinfo)
# print('>>>' + sql)
try:
self.__sqlObject.db_execute_query(sql)