summaryrefslogtreecommitdiff
path: root/test-cli/test/helpers/testsrv_db.py
diff options
context:
space:
mode:
authorManel Caro <mcaro@iseebcn.com>2020-03-04 19:38:10 +0100
committerManel Caro <mcaro@iseebcn.com>2020-03-04 19:38:10 +0100
commit7490324bc98248fc82be814920e2deff4114acc8 (patch)
tree2e6493dde1dddc7014da4ba289b91d0e28878d7f /test-cli/test/helpers/testsrv_db.py
parenta4d7e279731b4b2aa6fb825b096305556d1e825a (diff)
downloadboard-7490324bc98248fc82be814920e2deff4114acc8.zip
board-7490324bc98248fc82be814920e2deff4114acc8.tar.gz
board-7490324bc98248fc82be814920e2deff4114acc8.tar.bz2
Added station
Diffstat (limited to 'test-cli/test/helpers/testsrv_db.py')
-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 f08cb17..7ed02f3 100644
--- a/test-cli/test/helpers/testsrv_db.py
+++ b/test-cli/test/helpers/testsrv_db.py
@@ -119,9 +119,9 @@ class TestSrv_Database(object):
#print(r)
return None
- def open_testbatch(self, board_uuid):
+ def open_testbatch(self, board_uuid, station):
'''get the board test list'''
- sql = "SELECT isee.open_testbatch('{}')".format(board_uuid)
+ sql = "SELECT * FROM isee.open_testbatch('{}','{}')".format(board_uuid, station)
#print('>>>' + sql)
try:
res = str(self.__sqlObject.db_execute_query(sql)[0])