mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
address @hocuri comment -- remove as_contact() as it's synonym with create_contact
and the latter is already an established API and conveys better that a contact object will be created if it doesn't exist.
This commit is contained in:
@@ -69,7 +69,7 @@ def test_sig():
|
||||
def test_markseen_invalid_message_ids(acfactory):
|
||||
ac1 = acfactory.get_configured_offline_account()
|
||||
|
||||
contact1 = ac1.create_contact(addr="some1@example.com", name="some1")
|
||||
contact1 = ac1.create_contact("some1@example.com", name="some1")
|
||||
chat = contact1.create_chat()
|
||||
chat.send_text("one messae")
|
||||
ac1._evtracker.get_matching("DC_EVENT_MSGS_CHANGED")
|
||||
|
||||
Reference in New Issue
Block a user