import factory

from django.contrib.auth import get_user_model


class UserFactory(factory.DjangoModelFactory):
    class Meta:
        model = get_user_model()

    first_name = factory.Faker('name')
    last_name = factory.Faker('name')
    email = factory.Faker('email')

[(10, 'factory.Faker', 'factory.Faker', False, 'import factory\n'), (11, 'factory.Faker', 'factory.Faker', False, 'import factory\n'), (12, 'factory.Faker', 'factory.Faker', False, 'import factory\n'), (8, 'django.contrib.auth.get_user_model', 'get_user_model', False, 'from django.contrib.auth import get_user_model\n')]