@pytest.fixture
def user(django_user_model):
    user = django_user_model.objects.create(email='user@localhost')
    return user
Create and return a non-admin user.
dataset/ETHPy150Open dropbox/nsot/tests/api_tests/fixtures.py/user