Minor update of testing cases

This commit is contained in:
Miroslav Stampar
2021-02-01 21:58:36 +01:00
parent d247fda9d3
commit dfc5bc5d87
3 changed files with 7 additions and 5 deletions

View File

@@ -140,10 +140,12 @@ class ReqHandler(BaseHTTPRequestHandler):
code, output = OK, ""
try:
if self.params.get("echo", ""):
output += "%s<br>" % self.params["echo"]
if self.params.get("reflect", ""):
output += "%s<br>" % self.params.get("id")
with _lock:
if "query" in self.params:
_cursor.execute(self.params["query"])