summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManel Caro <mcaro@iatec.biz>2021-11-08 23:41:39 +0100
committerManel Caro <mcaro@iatec.biz>2021-11-08 23:41:39 +0100
commit2bb7e02e58b2698fdfc42014b1a4f3e4750af5b6 (patch)
treec21755de610c7238a9aeed753077d83e86c08831
parentcf19bfe18cbd283b188a858ee1629f9909c924f4 (diff)
downloadboard-2bb7e02e58b2698fdfc42014b1a4f3e4750af5b6.zip
board-2bb7e02e58b2698fdfc42014b1a4f3e4750af5b6.tar.gz
board-2bb7e02e58b2698fdfc42014b1a4f3e4750af5b6.tar.bz2
BUG: Resolve set state failure
-rw-r--r--test-cli/test/helpers/testsrv_db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-cli/test/helpers/testsrv_db.py b/test-cli/test/helpers/testsrv_db.py
index 8e96e8c..94f47e0 100644
--- a/test-cli/test/helpers/testsrv_db.py
+++ b/test-cli/test/helpers/testsrv_db.py
@@ -249,7 +249,7 @@ class TestSrv_Database(object):
return default
def setDevelStationState(self, station, newState):
- sql = "UPDATE station.station_state SET state = {} WHERE hostname={}".format(newState, station)
+ sql = "UPDATE station.station_state SET state = '{}' WHERE hostname='{}'".format(newState, station)
try:
res = self.__sqlObject.db_execute_query(sql)
# print(res)