icloud.com smtp test fails on Travis, so disable it

This commit is contained in:
Sergey Lavrinenko 2015-07-23 17:37:10 +03:00
parent 9b75e32e78
commit 6011ccf2ba
2 changed files with 4 additions and 4 deletions

View File

@ -31,5 +31,6 @@ def test_send_letters(smtp_servers):
for tag, server in smtp_servers.items():
server.patch_message(m)
response = m.send(smtp=server.params, render=render)
print(server.params)
assert response.success or response.status_code in (421, 451) # gmail not always like test emails
server.sleep()

View File

@ -13,12 +13,11 @@ SERVERS = {
host='mx.yandex.ru', port=25),
#'mailtrap.io': dict(from_email=_from, port=25, **_mailtrap),
#'mailtrap.io-tls': dict(from_email=_from, tls=True, port=465, **_mailtrap),
# mailtrap disabled because of timeouts on Travis
'outlook.com': dict(from_email=_from, to_email='lavr@outlook.com', host='mx1.hotmail.com'),
'me.com': dict(from_email=_from, to_email='s.lavrinenko@me.com', host='mx3.mail.icloud.com'),
#'me.com': dict(from_email=_from, to_email='s.lavrinenko@me.com', host='mx3.mail.icloud.com'),
# icloud.com disabled because of timeouts on Travis
}