mirror of
https://github.com/mediacms-io/mediacms.git
synced 2024-11-21 15:53:21 +01:00
small typo (#277)
This commit is contained in:
parent
fb00f94bfa
commit
062e4be6c2
@ -8,7 +8,7 @@ faker = Factory.create()
|
|||||||
def create_account(username=None, email=None, password=None, name=None, **kwargs):
|
def create_account(username=None, email=None, password=None, name=None, **kwargs):
|
||||||
"Allow to create accounts by passing None or specific arguements"
|
"Allow to create accounts by passing None or specific arguements"
|
||||||
email = email or faker.email()
|
email = email or faker.email()
|
||||||
username = username or email.split('a')[0]
|
username = username or email.split('@')[0]
|
||||||
password = password or faker.password()
|
password = password or faker.password()
|
||||||
name = name or faker.name()
|
name = name or faker.name()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user