(demo) change email from user to user.test in demo

When we create a new user in the demo environment,
the email address will now follow the format
user.test@example.com instead of user@example.com.
"user" was only 4 characters long, it created failing
tests in the e2e suite.
This commit is contained in:
Anthony LC
2025-09-08 17:52:35 +02:00
committed by Manuel Raynaud
parent 20161fd6db
commit 8c1e95c587
5 changed files with 18 additions and 10 deletions

View File

@@ -119,8 +119,8 @@ def create_demo(stdout):
first_name = random.choice(first_names)
queue.push(
models.User(
admin_email=f"user{i:d}@example.com",
email=f"user{i:d}@example.com",
admin_email=f"user.test{i:d}@example.com",
email=f"user.test{i:d}@example.com",
password="!",
is_superuser=False,
is_active=True,