Skip to content

Commit 5bf13fb

Browse files
committed
test: current transport cannot be deleted after changing to it
1 parent 9238a87 commit 5bf13fb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

deltachat-rpc-client/tests/test_multitransport.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ def test_change_address(acfactory) -> None:
7171
alice.add_transport_from_qr(qr)
7272
new_alice_addr = alice.list_transports()[1]["addr"]
7373
alice.set_config("configured_addr", new_alice_addr)
74+
with pytest.raises(JsonRpcError):
75+
alice.delete_transport(new_alice_addr)
7476
alice.start_io()
7577

7678
alice_chat_bob.send_text("Hello again!")

0 commit comments

Comments
 (0)