#NEWLINE# def test_generate_username_classmethod( self ) : #NEWLINE# #INDENT# email = 'elaine.treepwood-ca@monkeyisland.com' #NEWLINE# generated = User . generate_username ( email ) #NEWLINE# self . assertEqual ( generated , 'elaine-treepwood-ca-monkeyisland-com' )