Unverified Commit d5ca5f67 authored by Isis Lovecruft's avatar Isis Lovecruft
Browse files

Add timeout to SMTPAutoresponder unittests.

Some of them were taking a *really* long time on some hosts,
particularly these two:

   - test_SMTPAutoresponder_reply_transport_invalid
   - test_SMTPAutoresponder_reply_transport_valid
parent 862b996d
......@@ -290,6 +290,8 @@ a ball of timey-wimey, wibbly-warbly... stuff."""
class SMTPAutoresponderTests(unittest.TestCase):
"""Unittests for :class:`bridgedb.email.autoresponder.SMTPAutoresponder`."""
timeout = 10
def setUp(self):
self.config = _createConfig()
self.context = _createMailServerContext(self.config)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment