diff --git a/.github/test.py b/.github/test.py index b3caee8..48459d7 100644 --- a/.github/test.py +++ b/.github/test.py @@ -16,7 +16,6 @@ def test_index(): assert '' in response.text def test_new_chat(): - # Ensure the chat is not paused before starting a new chat client.post("/pause") response = client.post("/new-chat") @@ -24,12 +23,9 @@ def test_new_chat(): assert response.json() == {"status": "new chat started"} def test_pause(): - # Check initial pause state response = client.post("/pause") assert response.status_code == 200 assert response.json()["paused"] is True - - # Toggle pause state back to False response = client.post("/pause") assert response.status_code == 200 assert response.json()["paused"] is False