summaryrefslogtreecommitdiff
path: root/test-cli/test/helpers/testsrv_db.py
diff options
context:
space:
mode:
authorManel Caro <mcaro@iseebcn.com>2019-03-09 21:38:10 +0100
committerManel Caro <mcaro@iseebcn.com>2019-03-10 11:25:47 +0100
commit7edd6c5f599533e67bdf494df13cab06d5995209 (patch)
treeed36d7f424d7535eff2bf5d089847dc1fe3a31be /test-cli/test/helpers/testsrv_db.py
parente4366bb1f2dc3a43a1289f6f76967f1005278954 (diff)
downloadboard-7edd6c5f599533e67bdf494df13cab06d5995209.zip
board-7edd6c5f599533e67bdf494df13cab06d5995209.tar.gz
board-7edd6c5f599533e67bdf494df13cab06d5995209.tar.bz2
Modify some Execution Tests and EEprom Support
- Change Board Model to IGEP0000 - Change Audio Test - Change qbutton Test - Change qScreen Test - Added EEprom Support
Diffstat (limited to 'test-cli/test/helpers/testsrv_db.py')
-rw-r--r--test-cli/test/helpers/testsrv_db.py16
1 files changed, 15 insertions, 1 deletions
diff --git a/test-cli/test/helpers/testsrv_db.py b/test-cli/test/helpers/testsrv_db.py
index bac6ed8..94181f9 100644
--- a/test-cli/test/helpers/testsrv_db.py
+++ b/test-cli/test/helpers/testsrv_db.py
@@ -159,4 +159,18 @@ class TestSrv_Database(object):
except Exception as err:
r = find_between(str(err), '#', '#')
#print(r)
- return None \ No newline at end of file
+ return None
+
+ def getboard_eeprom(self, board_uuid):
+ '''get the board eeprom struct '''
+ sql = "SELECT isee.getboard_eeprom('{}')".format(board_uuid)
+ #print('>>>' + sql)
+ try:
+ res = self.__sqlObject.db_execute_query(sql)
+ #print(res)
+ return res;
+ except Exception as err:
+ r = find_between(str(err), '#', '#')
+ #print(r)
+ return None
+ \ No newline at end of file