bpo-32663 Make SMTPUTF8SimTests run (#5314)

Enable and fix SMTPUTF8SimTests in test_smtplib.

The tests for SMTPUTF8SimTests in test_smtplib.py were not actually
being run because test_smtplib was still using the 'test_main' pattern,
and the class was never added to test_main.

Additionally, one of the tests needed to be moved to the non-UTF8 server
class because it relies on the server not being UTF-8 compatible (and it
had a bug in in).
This commit is contained in:
chason 2018-07-26 04:01:28 +09:00 committed by R. David Murray
parent 60b04c9f6f
commit 48ed88a93b
2 changed files with 16 additions and 25 deletions

View file

@ -0,0 +1,2 @@
Making sure the `SMTPUTF8SimTests` class of tests gets run in
test_smtplib.py.