From dd1e8085bf8f5f796098a70f620c0b3c72d37ac3 Mon Sep 17 00:00:00 2001 From: JRoot Junior Date: Sat, 18 Nov 2023 21:28:34 +0200 Subject: [PATCH] Fixed Py3.12 tests --- tests/test_fsm/storage/test_isolation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_fsm/storage/test_isolation.py b/tests/test_fsm/storage/test_isolation.py index 8be303c4..1fb21d55 100644 --- a/tests/test_fsm/storage/test_isolation.py +++ b/tests/test_fsm/storage/test_isolation.py @@ -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())