From 31210e93eaaec6bcf2c2e60955036e3a04e26b18 Mon Sep 17 00:00:00 2001 From: shportix Date: Wed, 20 Sep 2023 15:03:09 +0300 Subject: [PATCH] test_sqlThread refactoring --- src/tests/test_sqlthread.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/test_sqlthread.py b/src/tests/test_sqlthread.py index dc283eab..8cbf36c6 100644 --- a/src/tests/test_sqlthread.py +++ b/src/tests/test_sqlthread.py @@ -29,7 +29,7 @@ class TestSqlBase(object): # pylint: disable=E1101, too-few-public-methods, E10 """Get table list of column names and value types by table name""" self.test_db.cur.execute("""PRAGMA table_info({})""".format(table_name)) res = self.test_db.cur.fetchall() - res = [[x[1], x[2]] for x in res] + res = [[x[1], x[2].lower()] for x in res] return res def execute_test_script(self, test_db_cur, file_name): # pylint: disable=W0622, redefined-builtin