<filename>streetteam/apps/users/tests/factories.py<gh_stars>1-10
import factory
from ..models import User


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

    email = factory.Faker("email")

<filename>streetteam/apps/users/tests/factories.py<gh_stars>1-10
import factory
from ..models import User


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

    email = factory.Faker("email")
