mirror of
https://github.com/deltachat/deltachat-core.git
synced 2025-10-04 18:29:19 +02:00
add some basic array handling and a get_chat_msgs()
This commit is contained in:
parent
41e3bb3aaa
commit
d24a1b5375
3 changed files with 30 additions and 10 deletions
|
@ -98,5 +98,6 @@ class TestOnlineAccount:
|
|||
assert ev[2] == msg.id
|
||||
msg = ac2.get_message_by_id(msg.id)
|
||||
assert msg.text == "msg1"
|
||||
# note that ev[1] aka data1 contains a bogus channel id
|
||||
# probably should just not get passed from the core
|
||||
messages = msg.chat.get_messages()
|
||||
assert msg in messages, (msg, messages)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue