From 0fe94e47cc2bbd1f16b1b87f85873f731ec29202 Mon Sep 17 00:00:00 2001 From: link2xt Date: Wed, 8 Nov 2023 21:54:12 +0000 Subject: [PATCH] test: enable verified 1:1 chats in deltachat-rpc-client tests --- deltachat-rpc-client/src/deltachat_rpc_client/pytestplugin.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deltachat-rpc-client/src/deltachat_rpc_client/pytestplugin.py b/deltachat-rpc-client/src/deltachat_rpc_client/pytestplugin.py index 435e21d18..cc6e44963 100644 --- a/deltachat-rpc-client/src/deltachat_rpc_client/pytestplugin.py +++ b/deltachat-rpc-client/src/deltachat_rpc_client/pytestplugin.py @@ -21,7 +21,9 @@ class ACFactory: self.deltachat = deltachat def get_unconfigured_account(self) -> Account: - return self.deltachat.add_account() + account = self.deltachat.add_account() + account.set_config("verified_one_on_one_chats", "1") + return account def get_unconfigured_bot(self) -> Bot: return Bot(self.get_unconfigured_account())