mirror of
https://github.com/chatmail/core.git
synced 2026-04-06 15:42:10 +03:00
remove acfactory.get_chat() in favour of account.create_chat(account2) directly working.
This commit is contained in:
@@ -387,10 +387,6 @@ def acfactory(pytestconfig, tmpdir, request, session_liveconfig, data):
|
||||
imap.dump_account_info(logfile=logfile)
|
||||
imap.dump_imap_structures(tmpdir, logfile=logfile)
|
||||
|
||||
def get_chat(self, ac1, ac2):
|
||||
chat12, chat21 = self.get_chats(ac1, ac2, both=False)
|
||||
return chat12
|
||||
|
||||
def get_chats(self, ac1, ac2, both=True):
|
||||
chat12 = ac1.create_chat_by_contact(
|
||||
ac1.create_contact(email=ac2.get_config("addr")))
|
||||
|
||||
Reference in New Issue
Block a user