Closed jsjiang closed 2 weeks ago
Modified the ezid_ui_tests.py
script
EmailMessage
classModified the verify_ezid_after_patching.py
script:
--notify_email
for receiving download notification emaildjango.core.mail.send_mail()
function Deployed with release v0.0.9
EZID uses the
django.core.mail.send_mail()
function and theEmailMessage
class to send emails. Add tests to cover both.The
django.core.mail.send_mail()
function is used in the following scripts:They all use the send_mail() function in the same pattern:
So a test that can cover the above
send_mail
function with the same parameters should be good enough.The
EmailMessage
class is used in theimpl/ui.py
script to sendContact Us
email to the EZID account. Theezid_ui_tests.py
has a test for theContact Us
. Make sure the email notification goes through.