diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-06-06 02:03:11 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-06-06 02:03:11 (GMT) |
commit | 380ef012998e5951333e68f6130aba8aba9ee721 (patch) | |
tree | cfbf6bac92a4f027715b395832fd5be8cc81450c /Lib/test | |
parent | d04d21373f01ff0d4b8aabfb73ea19b2c023f4a0 (diff) | |
download | cpython-380ef012998e5951333e68f6130aba8aba9ee721.zip cpython-380ef012998e5951333e68f6130aba8aba9ee721.tar.gz cpython-380ef012998e5951333e68f6130aba8aba9ee721.tar.bz2 |
Issue #27110: Add smtpd.SMTPChannel to __all__, by Jacek KoĆodziej
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_smtpd.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Lib/test/test_smtpd.py b/Lib/test/test_smtpd.py index d92c9b3..3eebe94 100644 --- a/Lib/test/test_smtpd.py +++ b/Lib/test/test_smtpd.py @@ -998,5 +998,16 @@ class SMTPDChannelTestWithEnableSMTPUTF8True(unittest.TestCase): self.write_line(b'test\r\n.') self.assertEqual(self.channel.socket.last[0:3], b'250') + +class MiscTestCase(unittest.TestCase): + def test__all__(self): + blacklist = { + "program", "Devnull", "DEBUGSTREAM", "NEWLINE", "COMMASPACE", + "DATA_SIZE_DEFAULT", "usage", "Options", "parseargs", + + } + support.check__all__(self, smtpd, blacklist=blacklist) + + if __name__ == "__main__": unittest.main() |