Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix failing test

  • Loading branch information...
commit 17cae609f5f21a84b71d76f495317cd480555c6f 1 parent 635d521
@danjac danjac authored
Showing with 3 additions and 1 deletion.
  1. +2 −0  pyramid_mailer/mailer.py
  2. +1 −1  pyramid_mailer/tests.py
View
2  pyramid_mailer/mailer.py
@@ -30,7 +30,9 @@ def send_immediately(self, message, fail_silently=False):
"""
Mocks sending an immediate (non-transactional) message. The message
is added to the **outbox** list.
+
:param message: a **Message** instance.
+ :param fail_silently: swallow connection errors (ignored here)
"""
self.outbox.append(message)
View
2  pyramid_mailer/tests.py
@@ -368,7 +368,7 @@ def test_send_immediately_and_fail_silently(self):
recipients=["tester@example.com"],
body="test")
- self.assert_(mailer.send_immediately(msg, True))
+ mailer.send_immediately(msg, True)
def test_send(self):
Please sign in to comment.
Something went wrong with that request. Please try again.