Skip to content

Commit 9759786

Browse files
committed
added utils to complete testing
1 parent 0f94665 commit 9759786

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# pylint:disable=unused-variable
2+
# pylint:disable=unused-argument
3+
# pylint:disable=redefined-outer-name
4+
# pylint:disable=protected-access
5+
6+
7+
from faker import Faker
8+
from servicelib.redis import RedisClientSDK, handle_redis_returns_union_types
9+
10+
pytest_simcore_core_services_selection = [
11+
"redis",
12+
]
13+
14+
pytest_simcore_ops_services_selection = [
15+
"redis-commander",
16+
]
17+
18+
19+
async def test_handle_redis_returns_union_types(
20+
redis_client_sdk: RedisClientSDK, faker: Faker
21+
):
22+
await handle_redis_returns_union_types(
23+
redis_client_sdk.redis.hset(
24+
faker.pystr(), mapping={faker.pystr(): faker.pystr()}
25+
)
26+
)

0 commit comments

Comments
 (0)