Skip to content

Commit 7afb556

Browse files
committed
random_element
1 parent 85b30fc commit 7afb556

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/pytest-simcore/src/pytest_simcore/helpers/faker_factories.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
import itertools
1616
import json
17-
import random
1817
from collections.abc import Callable
1918
from datetime import UTC, datetime, timedelta
2019
from typing import Any, Final
@@ -261,7 +260,7 @@ def random_product(
261260
ui=VendorUI(
262261
logo_url=fake.url(),
263262
strong_color=fake.color(),
264-
project_alias=random.choice(["project", "study"]),
263+
project_alias=fake.random_element(elements=["project", "study"]),
265264
),
266265
),
267266
"registration_email_template": registration_email_template,

0 commit comments

Comments
 (0)