Skip to content

Commit

Permalink
new: Add check busy
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Jan 23, 2024
1 parent 7d1ed15 commit c51e09f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_web.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit c51e09f

Please sign in to comment.