From 529b8b9ec115cd9e96bf0ab79e8a31c2aae6e8e4 Mon Sep 17 00:00:00 2001 From: Ben King <9087625+benfdking@users.noreply.github.com> Date: Tue, 19 Nov 2024 14:11:52 +0000 Subject: [PATCH] fix: info queue test case added --- tests/test_worker.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_worker.py b/tests/test_worker.py index 706d93e..47a752b 100644 --- a/tests/test_worker.py +++ b/tests/test_worker.py @@ -497,6 +497,10 @@ async def handler(_ctx: Context) -> None: await asyncio.sleep(2) self.assertGreater(state["counter"], 0) + async def test_info(self) -> None: + info = await self.queue.info() + assert info + async def test_burst(self) -> None: with self.assertRaises(ValueError): # dequeue_timeout must be set when burst is True