We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85b30fc commit 7afb556Copy full SHA for 7afb556
packages/pytest-simcore/src/pytest_simcore/helpers/faker_factories.py
@@ -14,7 +14,6 @@
14
15
import itertools
16
import json
17
-import random
18
from collections.abc import Callable
19
from datetime import UTC, datetime, timedelta
20
from typing import Any, Final
@@ -261,7 +260,7 @@ def random_product(
261
260
ui=VendorUI(
262
logo_url=fake.url(),
263
strong_color=fake.color(),
264
- project_alias=random.choice(["project", "study"]),
+ project_alias=fake.random_element(elements=["project", "study"]),
265
),
266
267
"registration_email_template": registration_email_template,
0 commit comments