implement and test migration from sqlite to storing password in userdir

This commit is contained in:
holger krekel
2024-07-23 17:59:28 +02:00
parent 68a62537e1
commit 686f32d6b3
9 changed files with 187 additions and 154 deletions

View File

@@ -10,7 +10,6 @@ from pathlib import Path
import pytest
from chatmaild.config import read_config
from chatmaild.database import Database
conftestdir = Path(__file__).parent
@@ -262,12 +261,6 @@ def gencreds(chatmail_config):
return lambda domain=None: next(gen(domain))
@pytest.fixture()
def db(tmpdir):
db_path = tmpdir / "passdb.sqlite"
print("database path:", db_path)
return Database(db_path)
#
# Delta Chat testplugin re-use