view tests/README @ 29333:cdef60d9f442

tests: add basic tests for SMTP over SSL SSL handling in mail.py wasn't covered by our test suite, therefore it was sometimes broken. This patch introduces pretty minimal tests that only cover the default path. We can extend it later. Tested with python 2.6.9 and 2.7.11 on Debian sid.
author Yuya Nishihara <yuya@tcha.org>
date Fri, 27 May 2016 23:18:38 +0900
parents 4b0fc75f9403
children
line wrap: on
line source

To run the tests, do:

cd tests/
python run-tests.py

See https://mercurial-scm.org/wiki/WritingTests for
more information on writing tests.