<commit_before>from feder.users import models
import factory


class UserFactory(factory.django.DjangoModelFactory):
    username = factory.Sequence(lambda n: 'user-{0}'.format(n))
    email = factory.Sequence(lambda n: '<EMAIL>'.<EMAIL>(n))

    class Meta:
        model = models.User<commit_msg>Added default password to UserFactory<commit_after>from feder.users import models
import factory


class UserFactory(factory.django.DjangoModelFactory):
    username = factory.Sequence(lambda n: 'user-{0}'.format(n))
    email = factory.Sequence(lambda n: '<EMAIL>'.<EMAIL>(n))
    password = factory.PosteGnerationMethodCall('set_password', 'password')

    class Meta:
        model = 'users.User'
        django_get_or_create = ('username', )
{'fraction_non_alphanumeric': 0.1278600269179004, 'fraction_numerical': 0.0026917900403768506, 'mean_word_length': 4.552238805970149, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5566336', 'n_tokens_mistral': 223, 'n_tokens_neox': 216, 'n_words': 48}