#NEWLINE# def test_add_form_email_field_is_required( self ) : #NEWLINE# #INDENT# user_model_admin = UserAdmin ( User , self . site ) #NEWLINE# form = user_model_admin . add_form ( ) #NEWLINE# field = form . declared_fields [ 'email' ] #NEWLINE# self . assertTrue ( field . required )