aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/py/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/py/conftest.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/py/conftest.py b/test/py/conftest.py
index 750e4e8..ead09d1 100644
--- a/test/py/conftest.py
+++ b/test/py/conftest.py
@@ -8,6 +8,7 @@ import os
from pytest import fixture
+from lib.db import Database
from lib.net import random_unused_port
from lib.process import CmdLine
from lib.test_repo import TestRepo
@@ -190,3 +191,8 @@ def client(client_cmd):
@fixture
def test_repo(tmp_path):
return TestRepo(tmp_path)
+
+
+@fixture
+def sqlite_db(server, sqlite_path):
+ return Database(sqlite_path)