summaryrefslogtreecommitdiff
path: root/test-cli/test
diff options
context:
space:
mode:
Diffstat (limited to 'test-cli/test')
-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)