summaryrefslogtreecommitdiffstats
path: root/debian/tests/test-postfix.py
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests/test-postfix.py')
-rw-r--r--debian/tests/test-postfix.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/tests/test-postfix.py b/debian/tests/test-postfix.py
index b3cbdc2..4809095 100644
--- a/debian/tests/test-postfix.py
+++ b/debian/tests/test-postfix.py
@@ -256,12 +256,12 @@ mech_list: %s %s
self.assertEqual(code, 250, reply)
self.assertEqual(self.s.does_esmtp, 1, reply)
self.assertTrue(b'8BITMIME' in self.s.ehlo_resp, reply)
- # No help available
+ # Help available as of postfix 3.9
self.s.putcmd("help")
code, msg = self.s.getreply()
reply = '%d %s' % (code, msg)
- self.assertEqual(code, 500, reply)
- self.assertTrue(b'Error' in msg, reply)
+ self.assertEqual(code, 214, reply)
+ self.assertTrue(b'2.0.0 Commands:' in msg, reply)
# VRFY addresses
self._vrfy('address@example.com', valid=True)
self._vrfy('does-not-exist', valid=False)