diff options
Diffstat (limited to 'tests/library/email/basic.test.py')
| -rw-r--r-- | tests/library/email/basic.test.py | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/tests/library/email/basic.test.py b/tests/library/email/basic.test.py deleted file mode 100644 index e77e3b8..0000000 --- a/tests/library/email/basic.test.py +++ /dev/null @@ -1,32 +0,0 @@ -from edify.library import email - -_TEST_CASES = [ - ("[email protected]", True), - ("[email protected]", True), - ("[email protected]", True), - ("[email protected]", True), - ("[email protected]", True), - ("[email protected]", True), - ("[email protected]", True), - ("[email protected]", True), - ("[email protected]", True), - ("[email protected]", True), - ("[email protected].", False), - ("plainaddress", False), - ("#@%^%#$@#$@#.com", False), - ("@example.com", False), - ("Joe Smith <[email protected]>", False), - ("email.example.com", False), - ("email@[email protected]", False), - ("[email protected]", False), - ("[email protected]", False), - ("[email protected]", False), - ("あいうえお@example.com", False), - ("[email protected]", False), - ("[email protected]", False), -] - - -def test_email(): - for candidate, expectation in _TEST_CASES: - assert email(candidate) is expectation |
