-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ffb7779
commit c326f72
Showing
1 changed file
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ | |
|
||
import pytest | ||
from aiohttp import ClientSession | ||
|
||
from mail_devel import Service | ||
from mail_devel import __main__ as main | ||
|
||
|
@@ -332,7 +333,9 @@ async def test_mail_devel_smtp_auth_multi_user(): | |
async def test_mail_devel_imap_auth(): | ||
iport, sport = unused_ports(2) | ||
pw = token_hex(10) | ||
service = await build_test_service(pw, imap_port=iport, smtp_port=sport, no_http=None) | ||
service = await build_test_service( | ||
pw, imap_port=iport, smtp_port=sport, no_http=None | ||
) | ||
|
||
await asyncio.sleep(0.2) | ||
async with service.start(): | ||
|
@@ -376,7 +379,12 @@ async def test_mail_devel_imap_auth_multi_user_mails(): | |
iport, sport = unused_ports(2) | ||
pw = token_hex(10) | ||
service = await build_test_service( | ||
pw, user="[email protected]", imap_port=iport, smtp_port=sport, multi_user=None, no_http=None | ||
pw, | ||
user="[email protected]", | ||
imap_port=iport, | ||
smtp_port=sport, | ||
multi_user=None, | ||
no_http=None, | ||
) | ||
|
||
expectations = [ | ||
|