From 59c3730d845fa428ac689c1fc2d4e4da4e4ed65e Mon Sep 17 00:00:00 2001 From: holger krekel Date: Fri, 8 Dec 2023 20:47:49 +0100 Subject: [PATCH] fix data fixture access --- tests/conftest.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 536902cd..01773747 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -283,8 +283,10 @@ def cmfactory(request, gencreds, tmpdir, maildomain): pytest.importorskip("deltachat") from deltachat.testplugin import ACFactory + data = request.getfixturevalue("data") + testproc = ChatmailTestProcess(request.config, maildomain, gencreds) - am = ACFactory(request=request, tmpdir=tmpdir, testprocess=testproc, data=None) + am = ACFactory(request=request, tmpdir=tmpdir, testprocess=testproc, data=data) # nb. a bit hacky # would probably be better if deltachat's test machinery grows native support