From ecb187b9bf851d39f964a90db9c68ab99ec37d3f Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Thu, 24 Nov 2016 11:01:34 -0500 Subject: Remove some unnecessary code and update a comment. --- src/mailman/runners/tests/test_owner.py | 2 +- src/mailman/testing/mta.py | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/mailman/runners/tests/test_owner.py b/src/mailman/runners/tests/test_owner.py index 1aa430b28..c95833932 100644 --- a/src/mailman/runners/tests/test_owner.py +++ b/src/mailman/runners/tests/test_owner.py @@ -113,7 +113,7 @@ Can you help me? # All three messages will have two X-MailFrom headers. One is added # by the LMTP server accepting Zuzu's original message, and will # contain her posting address, i.e. zuzu@example.com. The second one - # is added by the lazr.smtptest server that accepts Mailman's VERP'd + # is added by the aiosmtpd server that accepts Mailman's VERP'd # message to the individual recipient. By verifying both, we prove # that Zuzu sent the original message, and that Mailman is VERP'ing # the copy to all the owners. diff --git a/src/mailman/testing/mta.py b/src/mailman/testing/mta.py index f7a6a9806..129ed1d1f 100644 --- a/src/mailman/testing/mta.py +++ b/src/mailman/testing/mta.py @@ -18,7 +18,6 @@ """Fake MTA for testing purposes.""" import asyncio -import logging import smtplib from aiosmtpd.controller import Controller @@ -30,9 +29,6 @@ from queue import Empty, Queue from zope.interface import implementer -log = logging.getLogger('lazr.smtptest') - - @public @implementer(IMailTransportAgentLifecycle) class FakeMTA: -- cgit v1.3.1