auto-sync: 2026-05-18 16:16:31
This commit is contained in:
@@ -539,6 +539,9 @@ class TestE8MailTab:
|
||||
self.mail_ids = []
|
||||
|
||||
def _send_mail(self, client, **kwargs):
|
||||
# Fix: 'from' is a Python keyword, callers use 'from_'
|
||||
if 'from_' in kwargs:
|
||||
kwargs['from'] = kwargs.pop('from_')
|
||||
resp = client.post("/api/mail", json=kwargs)
|
||||
assert resp.status_code == 200
|
||||
data = resp.json()
|
||||
|
||||
Reference in New Issue
Block a user