small typo (#277)

This commit is contained in:
Markos Gogoulos 2021-08-20 13:57:55 +03:00 committed by GitHub
parent fb00f94bfa
commit 062e4be6c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ faker = Factory.create()
def create_account(username=None, email=None, password=None, name=None, **kwargs):
"Allow to create accounts by passing None or specific arguements"
email = email or faker.email()
username = username or email.split('a')[0]
username = username or email.split('@')[0]
password = password or faker.password()
name = name or faker.name()