Skip to content

Commit 0b7130d

Browse files
committed
Fixing linters
1 parent f8ee18e commit 0b7130d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tests/test_asyncio/test_cluster.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@
3535
ResponseError,
3636
)
3737
from redis.utils import str_if_bytes
38-
from tests.test_asyncio.conftest import (
39-
create_redis,
40-
)
4138
from tests.conftest import (
4239
assert_resp_response,
4340
is_resp2_connection,
@@ -1022,7 +1019,10 @@ async def test_get_and_set(self, r: RedisCluster) -> None:
10221019
async def test_get_and_set_with_load_balanced_client(
10231020
self, create_redis, load_balancing_strategy: LoadBalancingStrategy
10241021
) -> None:
1025-
r = await create_redis(cls=RedisCluster, load_balancing_strategy=load_balancing_strategy)
1022+
r = await create_redis(
1023+
cls=RedisCluster,
1024+
load_balancing_strategy=load_balancing_strategy,
1025+
)
10261026

10271027
# get and set can't be tested independently of each other
10281028
assert await r.get("a") is None

tests/test_cluster.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1034,7 +1034,7 @@ def test_get_and_set_with_load_balanced_client(
10341034
r = _get_client(
10351035
cls=RedisCluster,
10361036
request=request,
1037-
load_balancing_strategy=load_balancing_strategy
1037+
load_balancing_strategy=load_balancing_strategy,
10381038
)
10391039

10401040
# get and set can't be tested independently of each other

0 commit comments

Comments
 (0)