summaryrefslogtreecommitdiff
path: root/src/mailman/testing/mta.py
diff options
context:
space:
mode:
authorBarry Warsaw2016-11-24 11:24:18 -0500
committerBarry Warsaw2016-11-24 11:24:18 -0500
commitb832dc66e50d78913702a4e4e20abf68a92f6f46 (patch)
tree6ea7e38086ed2af24f865d8bac8d1dd933b142d0 /src/mailman/testing/mta.py
parentecb187b9bf851d39f964a90db9c68ab99ec37d3f (diff)
downloadmailman-b832dc66e50d78913702a4e4e20abf68a92f6f46.tar.gz
mailman-b832dc66e50d78913702a4e4e20abf68a92f6f46.tar.zst
mailman-b832dc66e50d78913702a4e4e20abf68a92f6f46.zip
Remove some unused code.
Diffstat (limited to '')
-rw-r--r--src/mailman/testing/mta.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mailman/testing/mta.py b/src/mailman/testing/mta.py
index 129ed1d1f..8b273d792 100644
--- a/src/mailman/testing/mta.py
+++ b/src/mailman/testing/mta.py
@@ -180,18 +180,6 @@ class ConnectionCountingSMTP(SMTP):
# the exception we expect smtplib.SMTP to raise.
yield from self.push('%d Error: SMTPResponseException' % code)
- def found_terminator(self):
- # Are we're waiting for the AUTH challenge response?
- if self._waiting_for_auth_response:
- line = self._emptystring.join(self.received_lines)
- self._auth_response = line
- self._waiting_for_auth_response = False
- self.received_lines = []
- # Now check to see if they authenticated correctly.
- self._check_auth(line)
- else:
- super().found_terminator()
-
import socket
import asyncio