def create_user(is_staff=False, authenticated=True):
    if not authenticated:
        return AnonymousUser()
    else:
        user = User(
            username=u'testing', email='testing@example.com',
            is_staff=is_staff)
        user.set_password(u'test')
        user.save()
Return the data type of the entity (binary or analog).
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/django-openid-auth-0.5/django_openid_auth/tests/test_admin.py/create_user--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/isy994.py/ISYDeviceABC.dtype