diff options
Diffstat (limited to 'mailman/testing/helpers.py')
| -rw-r--r-- | mailman/testing/helpers.py | 3 |
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: |
