Home
last modified time | relevance | path

Searched refs:smtpd (Results 1 - 3 of 3) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_smtpd.py10 smtpd = warnings_helper.import_deprecated('smtpd') variable
17 class DummyServer(smtpd.SMTPServer):
19 smtpd.SMTPServer.__init__(self, *args, **kwargs)
45 smtpd.socket = asyncore.socket = mock_socket
48 server = smtpd.SMTPServer((socket_helper.HOST, 0), ('b', 0),
51 channel = smtpd.SMTPChannel(server, conn, addr, decode_data=True)
66 smtpd.SMTPServer,
74 asyncore.socket = smtpd.socket = socket
80 smtpd
[all...]
H A Dtest_smtplib.py29 smtpd = warnings_helper.import_deprecated('smtpd') variable
41 smtpd.SMTPChannel.handle_expt = handle_expt
231 # Test behavior of smtpd.DebuggingServer
248 self.old_DEBUGSTREAM = smtpd.DEBUGSTREAM
249 smtpd.DEBUGSTREAM = io.StringIO()
251 self.serv = smtpd.DebuggingServer((HOST, 0), ('nowhere', -1),
273 smtpd.DEBUGSTREAM.close()
274 smtpd.DEBUGSTREAM = self.old_DEBUGSTREAM
363 # (this behavior is specific to smtpd
[all...]
H A Dtest_logging.py65 smtpd = warnings_helper.import_deprecated('smtpd') variable
815 class TestSMTPServer(smtpd.SMTPServer):
837 smtpd.SMTPServer.__init__(self, addr, None, map=sockmap,

Completed in 17 milliseconds