Explorar o código

Fixed typo in assertion.

Omer Katz %!s(int64=10) %!d(string=hai) anos
pai
achega
a8621d687c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)