Skip to content

Commit 6e7ad70

Browse files
committed
Fixed broken tests
1 parent 4ccd380 commit 6e7ad70

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/test_asyncio/test_connection_pool.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import pytest_asyncio
66
import redis.asyncio as redis
77
from redis.asyncio.connection import Connection, to_bool
8+
from redis.auth.token import TokenInterface
89
from tests.conftest import skip_if_redis_enterprise, skip_if_server_version_lt
910

1011
from .compat import aclosing, mock
@@ -106,6 +107,12 @@ async def disconnect(self):
106107
async def can_read_destructive(self, timeout: float = 0):
107108
return False
108109

110+
def set_re_auth_token(self, token: TokenInterface):
111+
pass
112+
113+
async def re_auth(self):
114+
pass
115+
109116

110117
class TestConnectionPool:
111118
@asynccontextmanager

0 commit comments

Comments
 (0)