summaryrefslogtreecommitdiff
path: root/tests/unit/mail/outgoing/test_service.py
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2017-12-16 21:04:01 +0200
committerKali Kaneko <kali@leap.se>2017-12-22 20:03:30 +0100
commit90503627ef5047cd7e6e253266f0b25f2b1daa4d (patch)
treec4e5908db4d5e81e97a4d0f920af7ef44b5ab971 /tests/unit/mail/outgoing/test_service.py
parentf4a3c23be148a822352d484c263ead0e4fd2b907 (diff)
[refactor] Use sender interface in outgoing service
Diffstat (limited to 'tests/unit/mail/outgoing/test_service.py')
-rw-r--r--tests/unit/mail/outgoing/test_service.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/unit/mail/outgoing/test_service.py b/tests/unit/mail/outgoing/test_service.py
index 9200397b..7b6df847 100644
--- a/tests/unit/mail/outgoing/test_service.py
+++ b/tests/unit/mail/outgoing/test_service.py
@@ -36,7 +36,6 @@ class TestService(unittest.TestCase):
def test_send_error_bounces_if_bouncer_is_provided(self):
bouncer = MagicMock()
outgoing_mail = OutgoingMail(self.from_address, self.keymanager,
- self.cert, self.key, self.host, self.port,
bouncer)
failure = Failure(exc_value=Exception())
@@ -48,7 +47,6 @@ class TestService(unittest.TestCase):
def test_send_error_raises_exception_if_there_is_no_bouncer(self):
bouncer = None
outgoing_mail = OutgoingMail(self.from_address, self.keymanager,
- self.cert, self.key, self.host, self.port,
bouncer)
failure = Failure(exc_value=Exception('smtp error'))