Fix missing test

This commit is contained in:
Adrià Casajús 2024-08-02 17:57:54 +02:00
parent 4c035ca340
commit ab26dd3cb4
No known key found for this signature in database
GPG Key ID: F0033226A5AFC9B9

View File

@ -56,6 +56,6 @@ def test_cannot_default_other_user_mailbox():
random_email(), random_email(),
use_digit_codes=True, use_digit_codes=True,
send_link=False, send_link=False,
) ).mailbox
with pytest.raises(user_settings.CannotSetMailbox): with pytest.raises(user_settings.CannotSetMailbox):
user_settings.set_default_mailbox(user, mailbox.id) user_settings.set_default_mailbox(user, mailbox.id)