Don't use hard-coded email addresses in tests

This commit is contained in:
VP-
2019-10-14 15:04:29 +02:00
committed by Floris Bruynooghe
parent 9bf8bed0c3
commit cfe3c69f00
2 changed files with 7 additions and 1 deletions

View File

@@ -389,7 +389,8 @@ class TestOnlineAccount:
def test_one_account_send_bcc_setting(self, acfactory, lp):
ac1 = acfactory.get_online_configuring_account()
c2 = ac1.create_contact(email="notexists@testrun.org")
ac2_config = acfactory.peek_online_config()
c2 = ac1.create_contact(email=ac2_config["addr"])
chat = ac1.create_chat_by_contact(c2)
assert chat.id > const.DC_CHAT_ID_LAST_SPECIAL
wait_successful_IMAP_SMTP_connection(ac1)