diff --git a/online-tests/conftest.py b/online-tests/conftest.py index ab6d2b1a..cdbb1669 100644 --- a/online-tests/conftest.py +++ b/online-tests/conftest.py @@ -64,8 +64,10 @@ def gencreds(maildomain): # use the cmfactory fixture to get chatmail instance accounts # + class ChatmailTestProcess: - """Provider for chatmail instance accounts as used by deltachat.testplugin.acfactory """ + """Provider for chatmail instance accounts as used by deltachat.testplugin.acfactory""" + def __init__(self, pytestconfig, maildomain, gencreds): self.pytestconfig = pytestconfig self.maildomain = maildomain @@ -90,6 +92,7 @@ def cmfactory(request, maildomain, gencreds, tmpdir, data): # cloned from deltachat.testplugin.amfactory pytest.importorskip("deltachat") from deltachat.testplugin import ACFactory + testproc = ChatmailTestProcess(request.config, maildomain, gencreds) am = ACFactory(request=request, tmpdir=tmpdir, testprocess=testproc, data=data) yield am diff --git a/online-tests/test_1_deltachat.py b/online-tests/test_1_deltachat.py index 5366b2b7..1439898b 100644 --- a/online-tests/test_1_deltachat.py +++ b/online-tests/test_1_deltachat.py @@ -1,5 +1,3 @@ - - class TestMailSending: def test_one_on_one(self, cmfactory, lp): ac1, ac2 = cmfactory.get_online_accounts(2)