#NEWLINE# @ override_settings ( AUTH_USER_MODEL = 'auth.IsActiveTestUser1' ) #NEWLINE# def test_is_active_field_default( self ) : #NEWLINE# #INDENT# '\n        tests that the default value for is_active is provided\n        ' #NEWLINE# UserModel = get_user_model ( ) #NEWLINE# user = UserModel ( username = 'foo' ) #NEWLINE# self . assertEqual ( user . is_active , True ) #NEWLINE# user . is_active = False #NEWLINE# user . save ( ) #NEWLINE# user_fetched = UserModel . _default_manager . get ( pk = user . pk ) #NEWLINE# self . assertEqual ( self . is_active , True )