Update test_mail.py
This commit is contained in:
parent
01ff1ef091
commit
4924cdd7fa
@ -1612,7 +1612,7 @@ class TestMailAccountTestView(APITestCase):
|
||||
def get_mailbox(server, port, security):
|
||||
return mock.MagicMock()
|
||||
|
||||
mock_get_mailbox.side_effect = get_mailbox
|
||||
mock_get_mailbox.__enter__.return_value = get_mailbox
|
||||
|
||||
def mock_mailbox_login(mailbox, account):
|
||||
return True
|
||||
|
Loading…
x
Reference in New Issue
Block a user