Created
December 13, 2017 18:36
-
-
Save umutcoskun/252ce9bbb8c32622f4972e1f5647a239 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ValidatorsTestCase(unittest.TestCase): | |
def setUp(self): | |
print('- Test verileri hazırlanıyor...') | |
self.valid_emails = [ | |
'birisi@gmail.com', | |
'merhaba_dunya@google.com', | |
'Dj_Y4RALI_BELA@hotmail.com', | |
] | |
def tearDown(self): | |
print('- Test verileri siliniyor...') | |
self.valid_emails = [] | |
def test_valid_emails(self): | |
for address in self.valid_emails: | |
self.assertTrue(validate_email(address)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment