summaryrefslogtreecommitdiff
path: root/mailman/testing/helpers.py
diff options
context:
space:
mode:
authorBarry Warsaw2008-12-31 18:26:08 -0500
committerBarry Warsaw2008-12-31 18:26:08 -0500
commit996f7ea88ad5eaee7b7c7df5b113dbf6ce896e55 (patch)
treefccf6fa070e9ea90d6834491f4406d803473e8da /mailman/testing/helpers.py
parent03d01d66436661ef7d1e6a80401a6ed232d02718 (diff)
downloadmailman-996f7ea88ad5eaee7b7c7df5b113dbf6ce896e55.tar.gz
mailman-996f7ea88ad5eaee7b7c7df5b113dbf6ce896e55.tar.zst
mailman-996f7ea88ad5eaee7b7c7df5b113dbf6ce896e55.zip
Diffstat (limited to 'mailman/testing/helpers.py')
-rw-r--r--mailman/testing/helpers.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mailman/testing/helpers.py b/mailman/testing/helpers.py
index 1bcadedaf..c22d92aff 100644
--- a/mailman/testing/helpers.py
+++ b/mailman/testing/helpers.py
@@ -236,7 +236,8 @@ def get_lmtp_client():
lmtp = LMTP()
for attempts in range(3):
try:
- response = lmtp.connect(config.LMTP_HOST, config.LMTP_PORT)
+ response = lmtp.connect(
+ config.mta.lmtp_host, int(config.mta.lmtp_port))
print response
return lmtp
except socket.error, error: