From e6e6e3bb6f0f68aa60bdab50309401cb5e27fe9e Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Mon, 27 Mar 2023 18:59:08 +0100 Subject: tests/db: pass URI to connect --- tests/test_db.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/test_db.py b/tests/test_db.py index 5c973ab..e036d33 100644 --- a/tests/test_db.py +++ b/tests/test_db.py @@ -5,13 +5,13 @@ from paste import db @pytest.fixture def unmigrated_conn(): - with db.connect(":memory:", migrations=None) as conn: + with db.connect("file::memory:", migrations=None) as conn: yield conn @pytest.fixture def conn(): - with db.connect(":memory:") as conn: + with db.connect("file::memory:") as conn: yield conn -- cgit v1.2.3-54-g00ecf