File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
packages/service-library/tests Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ async def _(
8585 )
8686 assert client
8787 assert client .redis_dsn == redis_resources_dns
88+ assert client .client_name == "pytest"
8889 await client .setup ()
8990
9091 yield client
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ async def test_redis_client_sdk_lost_connection(
2323 redis_client_sdk = RedisClientSDK (
2424 redis_service .build_redis_dsn (RedisDatabase .RESOURCES ), client_name = "pytest"
2525 )
26-
26+ assert redis_client_sdk . client_name == "pytest"
2727 await redis_client_sdk .setup ()
2828
2929 assert await redis_client_sdk .ping () is True
@@ -41,3 +41,5 @@ async def test_redis_client_sdk_lost_connection(
4141 ):
4242 with attempt :
4343 assert await redis_client_sdk .ping () is False
44+
45+ await redis_client_sdk .shutdown ()
You can’t perform that action at this time.
0 commit comments