Selaa lähdekoodia

Fixed typo in assertion.

Omer Katz 10 vuotta sitten
vanhempi
commit
a8621d687c
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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)