def test_email_with_no_credentials(self, active_config):
@report_idle_after(1)
def test_smpt():
active_config.extend({
'dallinger_email_address': u'email',
'contact_email_on_error': u'email',
'dallinger_email_password': u'password'
})
sleep(5)
with raises(SMTPAuthenticationError):
test_smpt()
评论列表
文章目录