aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/src/lib/db.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/lib/db.py')
-rw-r--r--test/src/lib/db.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/src/lib/db.py b/test/src/lib/db.py
index de6960a..0e47901 100644
--- a/test/src/lib/db.py
+++ b/test/src/lib/db.py
@@ -10,8 +10,8 @@ import sqlite3
class Database:
def __init__(self, path):
- logging.info('Opening SQLite database: %s', path)
- self.conn = sqlite3.connect(f'file:{path}?mode=ro', uri=True)
+ logging.info("Opening SQLite database: %s", path)
+ self.conn = sqlite3.connect(f"file:{path}?mode=ro", uri=True)
def __enter__(self):
return self
@@ -26,5 +26,5 @@ class Database:
def get_all_runs(self):
with self.get_cursor() as cur:
- cur.execute('SELECT * FROM cimple_runs_view')
+ cur.execute("SELECT * FROM cimple_runs_view")
return cur.fetchall()