From 996f7ea88ad5eaee7b7c7df5b113dbf6ce896e55 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Wed, 31 Dec 2008 18:26:08 -0500 Subject: More test repairs. * Move the lmtp configurations to lazr.config * Fixes to master.py * In qrunner.py, don't override initialize() * Make sure subprocesses get configured correctly during tests --- mailman/testing/helpers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mailman/testing/helpers.py') 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: -- cgit v1.2.3-70-g09d2