From bfb3b8c01b22d7da030c0e43ee83ae63148b9d44 Mon Sep 17 00:00:00 2001 From: BJ Dierkes Date: Sun, 2 Nov 2025 18:42:22 -0600 Subject: [PATCH] fix(ext.smtp): fix test related to mailpit api update --- tests/ext/test_ext_smtp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ext/test_ext_smtp.py b/tests/ext/test_ext_smtp.py index 87c597ff..25a7b66d 100644 --- a/tests/ext/test_ext_smtp.py +++ b/tests/ext/test_ext_smtp.py @@ -64,8 +64,8 @@ def test_smtp_send(rando): assert msg['To'][0]['Address'] == f'to-{rando}@localhost' assert msg['Subject'] == f'UNIT TEST > {rando}' assert msg['Attachments'] == 0 - assert msg['Cc'] == [] - assert msg['Bcc'] == [] + assert msg['Cc'] in [None, []] + assert msg['Bcc'] in [None, []] delete_msg(msg['ID'])