From 062e4be6c2aa56a727c8746c1b2ce692eaedecf7 Mon Sep 17 00:00:00 2001 From: Markos Gogoulos Date: Fri, 20 Aug 2021 13:57:55 +0300 Subject: [PATCH] small typo (#277) --- files/tests/user_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/tests/user_utils.py b/files/tests/user_utils.py index 3479562..51dd3c9 100644 --- a/files/tests/user_utils.py +++ b/files/tests/user_utils.py @@ -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()