From 0b4e19630bddd7cc9e7f9549230abb90f24e6625 Mon Sep 17 00:00:00 2001 From: Roland Hedberg Date: Tue, 9 Mar 2010 18:36:11 +0100 Subject: [PATCH] shortest possible email address --- tests/test_utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_utils.py b/tests/test_utils.py index 5edd228..83ebf0f 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -532,5 +532,7 @@ def test_ava_to_attributes(): def test_nameformat_email(): assert utils.valid_email("foo@example.com") + assert utils.valid_email("a@b.com") + assert utils.valid_email("a@b.se") assert utils.valid_email("john@doe@johndoe.com") == False \ No newline at end of file