def user_model_quite_standard():
        from django.contrib.auth.models import User as StandardUser
        if (User.USERNAME_FIELD == StandardUser.USERNAME_FIELD and
                User.REQUIRED_FIELDS == StandardUser.REQUIRED_FIELDS):
            return True
        return False
Check if installed User object is not too custom for the tests to instantiate it.
dataset/ETHPy150Open zlorf/django-synchro/synchro/tests.py/user_model_quite_standard