Add more emails in test

This commit is contained in:
resteve 2012-11-13 11:07:13 +01:00
parent 7f8e0c3792
commit 362ce8853c
1 changed files with 7 additions and 4 deletions

View File

@ -8,12 +8,15 @@ import unittest
import emailvalid
EMAILS = (
('username@example.com; anotheruser@example.com', True),
('username@mi-domain', False),
('another,user@example.com', False),
('another;user@example.com', False),
('username@domain.com, anotheruser@domain.com', True),
('username@domain.com; anotheruser@domain.com', True),
('username@domain.com;anotheruser@domain.com', True),
('username@domain', False),
('another,user@domain.com', False),
('another;user@domain.com', False),
)
class BankNumberTest(unittest.TestCase):
'''
Test Case for emailvalid