diff options
author | Manel Caro <mcaro@iatec.biz> | 2021-11-08 23:41:39 +0100 |
---|---|---|
committer | Manel Caro <mcaro@iatec.biz> | 2021-11-08 23:41:39 +0100 |
commit | 2bb7e02e58b2698fdfc42014b1a4f3e4750af5b6 (patch) | |
tree | c21755de610c7238a9aeed753077d83e86c08831 /test-cli/test/helpers/testsrv_db.py | |
parent | cf19bfe18cbd283b188a858ee1629f9909c924f4 (diff) | |
download | board-2bb7e02e58b2698fdfc42014b1a4f3e4750af5b6.zip board-2bb7e02e58b2698fdfc42014b1a4f3e4750af5b6.tar.gz board-2bb7e02e58b2698fdfc42014b1a4f3e4750af5b6.tar.bz2 |
BUG: Resolve set state failure
Diffstat (limited to 'test-cli/test/helpers/testsrv_db.py')
-rw-r--r-- | test-cli/test/helpers/testsrv_db.py | 2 |
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) |