deltachat-rpc-client 2.24.0__tar.gz → 2.25.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {deltachat_rpc_client-2.24.0/src/deltachat_rpc_client.egg-info → deltachat_rpc_client-2.25.0}/PKG-INFO +1 -1
- {deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/pyproject.toml +1 -1
- {deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0/src/deltachat_rpc_client.egg-info}/PKG-INFO +1 -1
- {deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/tests/test_securejoin.py +4 -4
- {deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/tests/test_something.py +11 -28
- {deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/LICENSE +0 -0
- {deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/README.md +0 -0
- {deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/setup.cfg +0 -0
- {deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/src/deltachat_rpc_client/__init__.py +0 -0
- {deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/src/deltachat_rpc_client/_utils.py +0 -0
- {deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/src/deltachat_rpc_client/account.py +0 -0
- {deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/src/deltachat_rpc_client/chat.py +0 -0
- {deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/src/deltachat_rpc_client/client.py +0 -0
- {deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/src/deltachat_rpc_client/const.py +0 -0
- {deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/src/deltachat_rpc_client/contact.py +0 -0
- {deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/src/deltachat_rpc_client/deltachat.py +0 -0
- {deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/src/deltachat_rpc_client/events.py +0 -0
- {deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/src/deltachat_rpc_client/message.py +0 -0
- {deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/src/deltachat_rpc_client/py.typed +0 -0
- {deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/src/deltachat_rpc_client/pytestplugin.py +0 -0
- {deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/src/deltachat_rpc_client/rpc.py +0 -0
- {deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/src/deltachat_rpc_client.egg-info/SOURCES.txt +0 -0
- {deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/src/deltachat_rpc_client.egg-info/dependency_links.txt +0 -0
- {deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/src/deltachat_rpc_client.egg-info/entry_points.txt +0 -0
- {deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/src/deltachat_rpc_client.egg-info/top_level.txt +0 -0
- {deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/tests/test_account_events.py +0 -0
- {deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/tests/test_calls.py +0 -0
- {deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/tests/test_chatlist_events.py +0 -0
- {deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/tests/test_iroh_webxdc.py +0 -0
- {deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/tests/test_key_transfer.py +0 -0
- {deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/tests/test_multidevice.py +0 -0
- {deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/tests/test_vcard.py +0 -0
- {deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/tests/test_webxdc.py +0 -0
|
@@ -122,7 +122,7 @@ def test_qr_securejoin_broadcast(acfactory, all_devices_online):
|
|
|
122
122
|
bob2.start_io()
|
|
123
123
|
|
|
124
124
|
logging.info("===================== Alice creates a broadcast =====================")
|
|
125
|
-
alice_chat = alice.create_broadcast("Broadcast channel
|
|
125
|
+
alice_chat = alice.create_broadcast("Broadcast channel!")
|
|
126
126
|
snapshot = alice_chat.get_basic_snapshot()
|
|
127
127
|
assert not snapshot.is_unpromoted # Broadcast channels are never unpromoted
|
|
128
128
|
|
|
@@ -135,8 +135,8 @@ def test_qr_securejoin_broadcast(acfactory, all_devices_online):
|
|
|
135
135
|
alice_chat.send_text("Hello everyone!")
|
|
136
136
|
|
|
137
137
|
def get_broadcast(ac):
|
|
138
|
-
chat = ac.get_chatlist(query="Broadcast channel
|
|
139
|
-
assert chat.get_basic_snapshot().name == "Broadcast channel
|
|
138
|
+
chat = ac.get_chatlist(query="Broadcast channel!")[0]
|
|
139
|
+
assert chat.get_basic_snapshot().name == "Broadcast channel!"
|
|
140
140
|
return chat
|
|
141
141
|
|
|
142
142
|
def wait_for_broadcast_messages(ac):
|
|
@@ -184,7 +184,7 @@ def test_qr_securejoin_broadcast(acfactory, all_devices_online):
|
|
|
184
184
|
|
|
185
185
|
chat_snapshot = chat.get_full_snapshot()
|
|
186
186
|
assert chat_snapshot.is_encrypted
|
|
187
|
-
assert chat_snapshot.name == "Broadcast channel
|
|
187
|
+
assert chat_snapshot.name == "Broadcast channel!"
|
|
188
188
|
if inviter_side:
|
|
189
189
|
assert chat_snapshot.chat_type == ChatType.OUT_BROADCAST
|
|
190
190
|
else:
|
|
@@ -338,44 +338,27 @@ def test_receive_imf_failure(acfactory) -> None:
|
|
|
338
338
|
|
|
339
339
|
bob.set_config("fail_on_receiving_full_msg", "1")
|
|
340
340
|
alice_chat_bob.send_text("Hello!")
|
|
341
|
-
event = bob.
|
|
342
|
-
chat_id
|
|
341
|
+
event = bob.wait_for_event(EventType.MSGS_CHANGED)
|
|
342
|
+
assert event.chat_id == bob.get_device_chat().id
|
|
343
343
|
msg_id = event.msg_id
|
|
344
344
|
message = bob.get_message_by_id(msg_id)
|
|
345
345
|
snapshot = message.get_snapshot()
|
|
346
|
-
assert
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
346
|
+
assert (
|
|
347
|
+
snapshot.text == "❌ Failed to receive a message:"
|
|
348
|
+
" Condition failed: `!context.get_config_bool(Config::FailOnReceivingFullMsg).await?`."
|
|
349
|
+
" Please report this bug to delta@merlinux.eu or https://support.delta.chat/."
|
|
350
|
+
)
|
|
351
351
|
|
|
352
352
|
# The failed message doesn't break the IMAP loop.
|
|
353
353
|
bob.set_config("fail_on_receiving_full_msg", "0")
|
|
354
354
|
alice_chat_bob.send_text("Hello again!")
|
|
355
355
|
event = bob.wait_for_incoming_msg_event()
|
|
356
|
-
assert event.chat_id == chat_id
|
|
357
|
-
msg_id = event.msg_id
|
|
358
|
-
message1 = bob.get_message_by_id(msg_id)
|
|
359
|
-
snapshot = message1.get_snapshot()
|
|
360
|
-
assert snapshot.chat_id == chat_id
|
|
361
|
-
assert snapshot.download_state == DownloadState.DONE
|
|
362
|
-
assert snapshot.error is None
|
|
363
|
-
|
|
364
|
-
# The failed message can be re-downloaded later.
|
|
365
|
-
bob._rpc.download_full_message(bob.id, message.id)
|
|
366
|
-
event = bob.wait_for_event(EventType.MSGS_CHANGED)
|
|
367
|
-
message = bob.get_message_by_id(event.msg_id)
|
|
368
|
-
snapshot = message.get_snapshot()
|
|
369
|
-
assert snapshot.download_state == DownloadState.IN_PROGRESS
|
|
370
|
-
event = bob.wait_for_event(EventType.MSGS_CHANGED)
|
|
371
|
-
assert event.chat_id == chat_id
|
|
372
356
|
msg_id = event.msg_id
|
|
373
357
|
message = bob.get_message_by_id(msg_id)
|
|
374
358
|
snapshot = message.get_snapshot()
|
|
375
|
-
assert snapshot.
|
|
359
|
+
assert snapshot.text == "Hello again!"
|
|
376
360
|
assert snapshot.download_state == DownloadState.DONE
|
|
377
361
|
assert snapshot.error is None
|
|
378
|
-
assert snapshot.text == "Hello!"
|
|
379
362
|
|
|
380
363
|
|
|
381
364
|
def test_selfavatar_sync(acfactory, data, log) -> None:
|
|
@@ -940,7 +923,7 @@ def test_leave_broadcast(acfactory, all_devices_online):
|
|
|
940
923
|
bob2.start_io()
|
|
941
924
|
|
|
942
925
|
logging.info("===================== Alice creates a broadcast =====================")
|
|
943
|
-
alice_chat = alice.create_broadcast("Broadcast channel
|
|
926
|
+
alice_chat = alice.create_broadcast("Broadcast channel!")
|
|
944
927
|
|
|
945
928
|
logging.info("===================== Bob joins the broadcast =====================")
|
|
946
929
|
qr_code = alice_chat.get_qr_code()
|
|
@@ -957,8 +940,8 @@ def test_leave_broadcast(acfactory, all_devices_online):
|
|
|
957
940
|
assert member_added_msg.get_snapshot().text == "You joined the channel."
|
|
958
941
|
|
|
959
942
|
def get_broadcast(ac):
|
|
960
|
-
chat = ac.get_chatlist(query="Broadcast channel
|
|
961
|
-
assert chat.get_basic_snapshot().name == "Broadcast channel
|
|
943
|
+
chat = ac.get_chatlist(query="Broadcast channel!")[0]
|
|
944
|
+
assert chat.get_basic_snapshot().name == "Broadcast channel!"
|
|
962
945
|
return chat
|
|
963
946
|
|
|
964
947
|
def check_account(ac, contact, inviter_side, please_wait_info_msg=False):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/src/deltachat_rpc_client/__init__.py
RENAMED
|
File without changes
|
{deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/src/deltachat_rpc_client/_utils.py
RENAMED
|
File without changes
|
{deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/src/deltachat_rpc_client/account.py
RENAMED
|
File without changes
|
{deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/src/deltachat_rpc_client/chat.py
RENAMED
|
File without changes
|
{deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/src/deltachat_rpc_client/client.py
RENAMED
|
File without changes
|
{deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/src/deltachat_rpc_client/const.py
RENAMED
|
File without changes
|
{deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/src/deltachat_rpc_client/contact.py
RENAMED
|
File without changes
|
{deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/src/deltachat_rpc_client/deltachat.py
RENAMED
|
File without changes
|
{deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/src/deltachat_rpc_client/events.py
RENAMED
|
File without changes
|
{deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/src/deltachat_rpc_client/message.py
RENAMED
|
File without changes
|
{deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/src/deltachat_rpc_client/py.typed
RENAMED
|
File without changes
|
{deltachat_rpc_client-2.24.0 → deltachat_rpc_client-2.25.0}/src/deltachat_rpc_client/pytestplugin.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|