Doc: Clear mailbox before deleting the user (#10068)
This commit is contained in:
commit
aa55975c7d
|
@ -631,6 +631,7 @@ Here's what that might look like:
|
|||
def receiving_user(mail_admin):
|
||||
user = mail_admin.create_user()
|
||||
yield user
|
||||
user.clear_mailbox()
|
||||
mail_admin.delete_user(user)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue