#NEWLINE# def test_valid( self ) : #NEWLINE# #INDENT# valid_emails = [ 's.balmer@hotmail.com' , 'a.dot@domain.com' , 'a+plus@domain.com' , 'at@at@domain.com' , 'local@domain.newtld' , 'local@domain.verylongtld' , 'local@domain' ] #NEWLINE# for email in valid_emails : #NEWLINE# #INDENT# self . assertIsNone ( self . validator ( email ) )