Skip to content

Commit

Permalink
Fix pre-commit checks
Browse files Browse the repository at this point in the history
  • Loading branch information
fkantelberg committed Dec 7, 2023
1 parent ffb7779 commit c326f72
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions tests/test_mail.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

import pytest
from aiohttp import ClientSession

from mail_devel import Service
from mail_devel import __main__ as main

Expand Down Expand Up @@ -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():
Expand Down Expand Up @@ -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 = [
Expand Down

0 comments on commit c326f72

Please sign in to comment.