@@ -129,7 +129,7 @@ async def test_connects_to_same_address_if_same_id_replica(
129
129
"""
130
130
Assert that the connection address is the same if the ``_iter_req_id`` is the same
131
131
when we are in replica mode using a
132
- :py:class:`~redis.asyncio.sentinel.SentinelConnectionPool`
132
+ :py:class:`~redis.asyncio.sentinel.SentinelConnectionPool`.
133
133
"""
134
134
connection_for_req_1 = await connection_pool_replica_mock .get_connection (
135
135
"ANY" , _iter_req_id = 1
@@ -148,7 +148,7 @@ async def test_connects_to_same_conn_object_if_same_id_and_conn_released_replica
148
148
when we are in replica mode using a
149
149
:py:class:`~redis.asyncio.sentinel.SentinelConnectionPool`
150
150
and if we release the connection back to the connection pool before
151
- trying to connect again
151
+ trying to connect again.
152
152
"""
153
153
connection_for_req_1 = await connection_pool_replica_mock .get_connection (
154
154
"ANY" , _iter_req_id = 1
@@ -164,7 +164,7 @@ async def test_connects_to_diff_address_if_no_iter_req_id_replica(
164
164
connection_pool_replica_mock : SentinelConnectionPool ,
165
165
) -> None :
166
166
"""
167
- Assert that the connection object is different if no _iter_req_id is supplied
167
+ Assert that the connection object is different if no _iter_req_id is supplied.
168
168
In reality, they can be the same, but in this case, we're not
169
169
releasing the connection to the pool so they should always be different.
170
170
"""
@@ -191,7 +191,7 @@ async def test_connects_to_same_address_if_same_iter_req_id_master(
191
191
"""
192
192
Assert that the connection address is the same if the ``_iter_req_id`` is the same
193
193
when we are in master mode using a
194
- :py:class:`~redis.asyncio.sentinel.SentinelConnectionPool`
194
+ :py:class:`~redis.asyncio.sentinel.SentinelConnectionPool`.
195
195
"""
196
196
connection_for_req_1 = await connection_pool_master_mock .get_connection (
197
197
"ANY" , _iter_req_id = 1
@@ -210,7 +210,7 @@ async def test_connects_to_same_conn_object_if_same_iter_req_id_and_released_mas
210
210
when we are in master mode using a
211
211
:py:class:`~redis.asyncio.sentinel.SentinelConnectionPool`
212
212
and if we release the connection back to the connection pool before
213
- trying to connect again
213
+ trying to connect again.
214
214
"""
215
215
connection_for_req_1 = await connection_pool_master_mock .get_connection (
216
216
"ANY" , _iter_req_id = 1
@@ -221,14 +221,14 @@ async def test_connects_to_same_conn_object_if_same_iter_req_id_and_released_mas
221
221
)
222
222
223
223
224
- async def test_connects_to_same_address_if_no_iter_req_id_in_master (
224
+ async def test_connects_to_same_address_if_no_iter_req_id_master (
225
225
connection_pool_master_mock : SentinelConnectionPool ,
226
226
) -> None :
227
227
"""
228
228
Assert that connection address is always the same regardless if
229
229
there's an ``iter_req_id`` or not
230
230
when we are in master mode using a
231
- :py:class:`~redis.asyncio.sentinel.SentinelConnectionPool`
231
+ :py:class:`~redis.asyncio.sentinel.SentinelConnectionPool`.
232
232
"""
233
233
connection_for_req_1 = await connection_pool_master_mock .get_connection (
234
234
"ANY" , _iter_req_id = 1
0 commit comments