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, 17, 10, 38), 'factory.Faker', 'factory.Faker', ({(10, 31, 10, 37): '"""name"""'}, {}), "('name')", False, 'import factory\n'), ((11, 16, 11, 37), 'factory.Faker', 'factory.Faker', ({(11, 30, 11, 36): '"""name"""'}, {}), "('name')", False, 'import factory\n'), ((12, 12, 12, 34), 'factory.Faker', 'factory.Faker', ({(12, 26, 12, 33): '"""email"""'}, {}), "('email')", False, 'import factory\n'), ((8, 16, 8, 32), 'django.contrib.auth.get_user_model', 'get_user_model', ({}, {}), '()', False, 'from django.contrib.auth import get_user_model\n')]