some bug fixes
This commit is contained in:
@@ -145,8 +145,8 @@ class UserFactory(factory.DjangoModelFactory):
|
||||
email = factory.LazyAttribute(lambda _: faker.email())
|
||||
username = factory.LazyAttribute(lambda _: faker.profile()['username'])
|
||||
|
||||
first_name = faker.name().split(' ')[0]
|
||||
last_name = faker.name().split(' ')[0]
|
||||
first_name = factory.LazyAttribute(lambda _:faker.name().split(' ')[0])
|
||||
last_name = factory.LazyAttribute(lambda _:faker.name().split(' ')[0])
|
||||
|
||||
class RaceFactory(factory.DjangoModelFactory):
|
||||
class Meta:
|
||||
|
||||
Reference in New Issue
Block a user