From c326f72e8cf189e2b76c440aa830c6bb62b3f447 Mon Sep 17 00:00:00 2001 From: draos Date: Thu, 7 Dec 2023 18:49:38 +0100 Subject: [PATCH] Fix pre-commit checks --- tests/test_mail.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/tests/test_mail.py b/tests/test_mail.py index 1fec2de..31a6ce5 100644 --- a/tests/test_mail.py +++ b/tests/test_mail.py @@ -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="test@example.org", imap_port=iport, smtp_port=sport, multi_user=None, no_http=None + pw, + user="test@example.org", + imap_port=iport, + smtp_port=sport, + multi_user=None, + no_http=None, ) expectations = [