summaryrefslogtreecommitdiff
path: root/test-cli/test/helpers/testsrv_db.py
diff options
context:
space:
mode:
authorHector Fernandez <hector@iatec.biz>2020-03-13 14:30:21 +0100
committerHector Fernandez <hector@iatec.biz>2020-03-19 21:31:03 +0100
commita85534544fad3c51d8af8d65e7fde6cb5d07978b (patch)
treeb9fc6b130c3f457fbd4a98bb222d626e243e9f74 /test-cli/test/helpers/testsrv_db.py
parent71d9a1f0b6bb4389cb9b0760ce4e847574fdcd45 (diff)
downloadboard-a85534544fad3c51d8af8d65e7fde6cb5d07978b.zip
board-a85534544fad3c51d8af8d65e7fde6cb5d07978b.tar.gz
board-a85534544fad3c51d8af8d65e7fde6cb5d07978b.tar.bz2
Changed tasks to be independent of tests.
Diffstat (limited to 'test-cli/test/helpers/testsrv_db.py')
-rw-r--r--test-cli/test/helpers/testsrv_db.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test-cli/test/helpers/testsrv_db.py b/test-cli/test/helpers/testsrv_db.py
index a6a5545..27024ce 100644
--- a/test-cli/test/helpers/testsrv_db.py
+++ b/test-cli/test/helpers/testsrv_db.py
@@ -101,8 +101,8 @@ class TestSrv_Database(object):
# print(r)
return None
- def get_board_variables(self, board_uuid):
- sql = "SELECT * FROM isee.f_get_boardvariables('{}')".format(board_uuid)
+ def get_task_variables_list(self, board_uuid):
+ sql = "SELECT * FROM isee.f_get_task_variables_list('{}')".format(board_uuid)
# print('>>>' + sql)
try:
res = self.__sqlObject.db_execute_query(sql)
@@ -125,8 +125,8 @@ class TestSrv_Database(object):
# print(r)
return None
- def create_process(self, testid_ctl):
- sql = "SELECT * FROM isee.f_create_process({})".format(testid_ctl)
+ def open_task(self, uuid):
+ sql = "SELECT * FROM isee.f_open_task('{}')".format(uuid)
# print('>>>' + sql)
try:
res = self.__sqlObject.db_execute_query(sql)