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')

[((179, 200), 'factory.Faker', 'factory.Faker', (['"""name"""'], {}), "('name')\n", (192, 200), False, 'import factory\n'), ((217, 238), 'factory.Faker', 'factory.Faker', (['"""name"""'], {}), "('name')\n", (230, 238), False, 'import factory\n'), ((251, 273), 'factory.Faker', 'factory.Faker', (['"""email"""'], {}), "('email')\n", (264, 273), False, 'import factory\n'), ((144, 160), 'django.contrib.auth.get_user_model', 'get_user_model', ([], {}), '()\n', (158, 160), False, 'from django.contrib.auth import get_user_model\n')]