#NEWLINE# def test_create_user( self ) : #NEWLINE# #INDENT# user_data = { #NEWLINE# #INDENT# 'first_name' : 'test' , #NEWLINE# 'last_name' : 'user' , #NEWLINE# 'is_user' : True , #NEWLINE# #UNINDENT# } #NEWLINE# user = AbstractUser ( ** user ) #NEWLINE# self . assertFalse ( user . is_superuser ) #NEWLINE# self . assertFalse ( user . is_staff ) #NEWLINE# self . assertTrue ( user . is_user ) #NEWLINE# self . assertFalse ( user . is_anonymous )