Update tests/test_utils_sendmail.py
Run CI Tests / test (push) Successful in 2m46s

This commit is contained in:
2025-07-30 20:41:39 +02:00
parent cff87da7c8
commit 89a56b7016
+2 -2
View File
@@ -25,7 +25,7 @@ def test_sendmail_mime_format_to_file():
try:
# Send message
sendmail(
to_addr=f"| tee {tmp_path}",
to_addr=f"| cat > {tmp_path}",
from_addr=from_addr,
subject=subject,
body=body
@@ -37,7 +37,7 @@ def test_sendmail_mime_format_to_file():
# Expected message
msg = MIMEText(body)
msg["To"] = f"| tee {tmp_path}"
msg["To"] = f"| cat > {tmp_path}"
msg["From"] = from_addr
msg["Subject"] = subject
expected = msg.as_string()