Browse Source

Fixed typo in assertion.

Omer Katz 10 years ago
parent
commit
a8621d687c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      celery/tests/utils/test_mail.py

+ 1 - 1
celery/tests/utils/test_mail.py

@@ -46,7 +46,7 @@ class test_Mailer(Case):
         mailer = Mailer(use_ssl=False, use_tls=False)
         mailer._send(msg)
 
-        client.sendmail.assert_called_With(msg.sender, msg.to, str(msg))
+        client.sendmail.assert_called_with(msg.sender, msg.to, str(msg))
 
         client.quit.side_effect = SSLError()
         mailer._send(msg)