diff --git a/tests/test_checker.py b/tests/test_checker.py index f83d217..cbb4749 100644 --- a/tests/test_checker.py +++ b/tests/test_checker.py @@ -1,5 +1,4 @@ import pytest -from pydantic import EmailError from flask_mailing.utils.errors import DBProvaiderError @@ -40,8 +39,5 @@ async def test_default_checker(default_checker): assert default_checker.validate_email(email) is True - with pytest.raises(EmailError): - default_checker.validate_email("test#mail.com") - with pytest.raises(DBProvaiderError): await default_checker.close_connections()