deltachat-rpc-client 2.21.0__tar.gz → 2.22.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.
Potentially problematic release.
This version of deltachat-rpc-client might be problematic. Click here for more details.
- {deltachat_rpc_client-2.21.0/src/deltachat_rpc_client.egg-info → deltachat_rpc_client-2.22.0}/PKG-INFO +1 -1
- {deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/pyproject.toml +1 -1
- {deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0/src/deltachat_rpc_client.egg-info}/PKG-INFO +1 -1
- {deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/tests/test_calls.py +23 -0
- {deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/LICENSE +0 -0
- {deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/README.md +0 -0
- {deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/setup.cfg +0 -0
- {deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/src/deltachat_rpc_client/__init__.py +0 -0
- {deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/src/deltachat_rpc_client/_utils.py +0 -0
- {deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/src/deltachat_rpc_client/account.py +0 -0
- {deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/src/deltachat_rpc_client/chat.py +0 -0
- {deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/src/deltachat_rpc_client/client.py +0 -0
- {deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/src/deltachat_rpc_client/const.py +0 -0
- {deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/src/deltachat_rpc_client/contact.py +0 -0
- {deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/src/deltachat_rpc_client/deltachat.py +0 -0
- {deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/src/deltachat_rpc_client/events.py +0 -0
- {deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/src/deltachat_rpc_client/message.py +0 -0
- {deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/src/deltachat_rpc_client/py.typed +0 -0
- {deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/src/deltachat_rpc_client/pytestplugin.py +0 -0
- {deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/src/deltachat_rpc_client/rpc.py +0 -0
- {deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/src/deltachat_rpc_client.egg-info/SOURCES.txt +0 -0
- {deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/src/deltachat_rpc_client.egg-info/dependency_links.txt +0 -0
- {deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/src/deltachat_rpc_client.egg-info/entry_points.txt +0 -0
- {deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/src/deltachat_rpc_client.egg-info/top_level.txt +0 -0
- {deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/tests/test_account_events.py +0 -0
- {deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/tests/test_chatlist_events.py +0 -0
- {deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/tests/test_iroh_webxdc.py +0 -0
- {deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/tests/test_key_transfer.py +0 -0
- {deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/tests/test_multidevice.py +0 -0
- {deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/tests/test_securejoin.py +0 -0
- {deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/tests/test_something.py +0 -0
- {deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/tests/test_vcard.py +0 -0
- {deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/tests/test_webxdc.py +0 -0
|
@@ -9,6 +9,7 @@ def test_calls(acfactory) -> None:
|
|
|
9
9
|
|
|
10
10
|
alice_contact_bob = alice.create_contact(bob, "Bob")
|
|
11
11
|
alice_chat_bob = alice_contact_bob.create_chat()
|
|
12
|
+
bob.create_chat(alice) # Accept the chat so incoming call causes a notification.
|
|
12
13
|
outgoing_call_message = alice_chat_bob.place_outgoing_call(place_call_info)
|
|
13
14
|
assert outgoing_call_message.get_call_info().state.kind == "Alerting"
|
|
14
15
|
|
|
@@ -67,6 +68,7 @@ a=extmap:1 urn:ietf:params:rtp-hdrext:sdes:mid\r
|
|
|
67
68
|
|
|
68
69
|
alice, bob = acfactory.get_online_accounts(2)
|
|
69
70
|
|
|
71
|
+
bob.create_chat(alice) # Accept the chat so incoming call causes a notification.
|
|
70
72
|
alice_contact_bob = alice.create_contact(bob, "Bob")
|
|
71
73
|
alice_chat_bob = alice_contact_bob.create_chat()
|
|
72
74
|
alice_chat_bob.place_outgoing_call(place_call_info)
|
|
@@ -84,3 +86,24 @@ def test_ice_servers(acfactory) -> None:
|
|
|
84
86
|
|
|
85
87
|
ice_servers = alice.ice_servers()
|
|
86
88
|
assert len(ice_servers) == 1
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
def test_no_contact_request_call(acfactory) -> None:
|
|
92
|
+
alice, bob = acfactory.get_online_accounts(2)
|
|
93
|
+
|
|
94
|
+
alice_chat_bob = alice.create_chat(bob)
|
|
95
|
+
alice_chat_bob.place_outgoing_call("offer")
|
|
96
|
+
alice_chat_bob.send_text("Hello!")
|
|
97
|
+
|
|
98
|
+
# Notification for "Hello!" message should arrive
|
|
99
|
+
# without the call ringing.
|
|
100
|
+
while True:
|
|
101
|
+
event = bob.wait_for_event()
|
|
102
|
+
|
|
103
|
+
# There should be no incoming call notification.
|
|
104
|
+
assert event.kind != EventType.INCOMING_CALL
|
|
105
|
+
|
|
106
|
+
if event.kind == EventType.INCOMING_MSG:
|
|
107
|
+
msg = bob.get_message_by_id(event.msg_id)
|
|
108
|
+
assert msg.get_snapshot().text == "Hello!"
|
|
109
|
+
break
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/src/deltachat_rpc_client/__init__.py
RENAMED
|
File without changes
|
{deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/src/deltachat_rpc_client/_utils.py
RENAMED
|
File without changes
|
{deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/src/deltachat_rpc_client/account.py
RENAMED
|
File without changes
|
{deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/src/deltachat_rpc_client/chat.py
RENAMED
|
File without changes
|
{deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/src/deltachat_rpc_client/client.py
RENAMED
|
File without changes
|
{deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/src/deltachat_rpc_client/const.py
RENAMED
|
File without changes
|
{deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/src/deltachat_rpc_client/contact.py
RENAMED
|
File without changes
|
{deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/src/deltachat_rpc_client/deltachat.py
RENAMED
|
File without changes
|
{deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/src/deltachat_rpc_client/events.py
RENAMED
|
File without changes
|
{deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/src/deltachat_rpc_client/message.py
RENAMED
|
File without changes
|
{deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.0}/src/deltachat_rpc_client/py.typed
RENAMED
|
File without changes
|
{deltachat_rpc_client-2.21.0 → deltachat_rpc_client-2.22.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
|
|
File without changes
|