diff options
author | Tomasz Kramkowski <tomasz@kramkow.ski> | 2023-03-27 18:59:08 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tomasz@kramkow.ski> | 2023-03-27 19:01:56 +0100 |
commit | e6e6e3bb6f0f68aa60bdab50309401cb5e27fe9e (patch) | |
tree | 4b40c7b5b9ad3575fb73fbd940bb061e1d55eb64 /tests | |
parent | d3ac5b3484fbe4871c52d2f6608e5027152db88d (diff) | |
download | paste-e6e6e3bb6f0f68aa60bdab50309401cb5e27fe9e.tar.gz paste-e6e6e3bb6f0f68aa60bdab50309401cb5e27fe9e.tar.xz paste-e6e6e3bb6f0f68aa60bdab50309401cb5e27fe9e.zip |
tests/db: pass URI to connect
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_db.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |