From 104c60840ae4cf476bb54af9d10eac0976e8f917 Mon Sep 17 00:00:00 2001 From: link2xt Date: Tue, 20 Aug 2024 03:08:01 +0000 Subject: [PATCH] test: test that alternative port 443 works --- deltachat-rpc-client/tests/test_something.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/deltachat-rpc-client/tests/test_something.py b/deltachat-rpc-client/tests/test_something.py index 730e152fd..9e526e459 100644 --- a/deltachat-rpc-client/tests/test_something.py +++ b/deltachat-rpc-client/tests/test_something.py @@ -83,6 +83,16 @@ def test_configure_ip(acfactory) -> None: account.configure() +def test_configure_alternative_port(acfactory) -> None: + """Test that configuration with alternative port 443 works.""" + account = acfactory.new_preconfigured_account() + + account.set_config("mail_port", "443") + account.set_config("send_port", "443") + + account.configure() + + def test_account(acfactory) -> None: alice, bob = acfactory.get_online_accounts(2)