From c51e09f9b826996d5e3fe14f0fa121210cfb62d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Tue, 23 Jan 2024 16:53:20 +0100 Subject: [PATCH] new: Add check busy --- tests/test_web.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_web.py b/tests/test_web.py index baf1d01..10ca622 100644 --- a/tests/test_web.py +++ b/tests/test_web.py @@ -13,8 +13,9 @@ def setUp(self) -> None: self.client = PyLacus(root_url="http://127.0.0.1:7100") def test_up(self) -> None: - self.assertTrue(self.client.is_up) self.assertTrue(self.client.redis_up()) + self.assertTrue(self.client.is_up) + self.assertFalse(self.client.is_busy()) def test_submit(self) -> None: uuid = self.client.enqueue(url="circl.lu")