diff options
Diffstat (limited to 'tests/unit/test-011-wallace_resources.py')
-rw-r--r-- | tests/unit/test-011-wallace_resources.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/test-011-wallace_resources.py b/tests/unit/test-011-wallace_resources.py index 01ef0d1..73fba5d 100644 --- a/tests/unit/test-011-wallace_resources.py +++ b/tests/unit/test-011-wallace_resources.py @@ -109,6 +109,7 @@ class TestWallaceResources(unittest.TestCase): import smtplib self.patch(smtplib.SMTP, "__init__", self._mock_smtp_init) self.patch(smtplib.SMTP, "quit", self._mock_nop) + self.patch(smtplib.SMTP, "connect", self._mock_nop) self.patch(smtplib.SMTP, "sendmail", self._mock_smtp_sendmail) self.smtplog = [] |