Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ def test_main_multi_input(monkeypatch: pytest.MonkeyPatch, capsys: pytest.Captur
assert test_cases[2] in stdout
assert test_cases[3] in stdout

def test_getattr(monkeypatch: pytest.MonkeyPatch, capsys: pytest.CaptureFixture[str]) -> None:
input_email = b"[email protected]"
validated_email = validate_email(input_email, check_deliverability=True)
assert len(validated_email.mx) > 0


def test_bytes_input() -> None:
input_email = b"[email protected]"
Expand Down
Loading