test_command_line.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:Dallinger 作者: Dallinger 项目源码 文件源码
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()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号