diff --git a/python/tests/test_account.py b/python/tests/test_account.py index 750c16414..a71924bf5 100644 --- a/python/tests/test_account.py +++ b/python/tests/test_account.py @@ -21,7 +21,7 @@ class TestOfflineAccountBasic: d = ac1.get_info() assert d["arch"] assert d["number_of_chats"] == "0" - assert d["bcc_self"] == "1" + assert d["bcc_self"] == "0" def test_is_not_configured(self, acfactory): ac1 = acfactory.get_unconfigured_account() @@ -43,7 +43,7 @@ class TestOfflineAccountBasic: def test_has_bccself(self, acfactory): ac1 = acfactory.get_unconfigured_account() assert "bcc_self" in ac1.get_config("sys.config_keys").split() - assert ac1.get_config("bcc_self") == "1" + assert ac1.get_config("bcc_self") == "0" def test_selfcontact_if_unconfigured(self, acfactory): ac1 = acfactory.get_unconfigured_account() @@ -405,6 +405,9 @@ class TestOnlineAccount: wait_successful_IMAP_SMTP_connection(ac1) wait_configuration_progress(ac1, 1000) + lp.sec("ac1: setting bcc_self=1") + ac1.set_config("bcc_self", "1") + lp.sec("send out message with bcc to ourselves") msg_out = chat.send_text("message2") ev = ac1._evlogger.get_matching("DC_EVENT_MSGS_CHANGED")