Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
Signed-off-by: jamshale <jamiehalebc@gmail.com>
  • Loading branch information
jamshale committed Dec 5, 2024
1 parent 73d7605 commit 98006f1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ async def asyncSetUp(self):

async def test_init(self):
self.profile.context.injector.bind_instance(
redis.asyncio.RedisCluster, MagicMock()
redis.asyncio.RedisCluster,
MagicMock(redis.asyncio.RedisCluster, auto_spec=True),
)
RedisInboundTransport.running = PropertyMock(
side_effect=[True, True, True, False]
Expand Down

0 comments on commit 98006f1

Please sign in to comment.