Skip to content

Commit 6bc32dc

Browse files
committed
Update test for mimemail
1 parent c6687d1 commit 6bc32dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_mailout.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import daiquiri
1515

1616
from webapp.auth.ldap_user import LdapUser
17-
from webapp import mailout
17+
from webapp import mimemail
1818

1919

2020
logger = daiquiri.getLogger(__name__)
@@ -26,7 +26,7 @@ def test_mailout():
2626
subject = 'EDI account password reset...'
2727
msg = reset_password_mail_body(ldap_user=ldap_user, url='https://dashboard.edirepository.org/dashboard/auth/deadlink')
2828
to = ldap_user.email
29-
assert mailout.send_mail(subject=subject, msg=msg, to=to)
29+
assert mimemail.send_mail(subject=subject, msg=msg, to=to)
3030

3131

3232
def reset_password_mail_body(ldap_user=None, url=None):

0 commit comments

Comments
 (0)