Fixed Py3.12 tests

This commit is contained in:
JRoot Junior 2023-11-18 21:28:34 +02:00
parent c1bafea3e8
commit dd1e8085bf
No known key found for this signature in database
GPG key ID: 738964250D5FF6E2

View file

@ -53,7 +53,7 @@ class TestRedisEventIsolation:
assert isolation.redis is not None
assert isolation.key_builder is not None
assert pool.called_once_with("redis://localhost:6379/0")
pool.assert_called_once_with("redis://localhost:6379/0")
async def test_close(self):
isolation = RedisEventIsolation(redis=AsyncMock())