Skip to content

Commit bbee306

Browse files
committed
Style: cleanup unit test by removing unnecessary logging and blank lines
Signed-off-by: Akshat Kumar <[email protected]>
1 parent 975c7af commit bbee306

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/unittests/cli/test_fast_api.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1415,10 +1415,9 @@ def test_agent_run_resume_without_message(test_app, create_test_session, monkeyp
14151415
"""Test that /run allows resuming a session without providing a new message."""
14161416
info = create_test_session
14171417
url = "/run"
1418-
14191418
# We simulate the NEW behavior of the real runner (returning no events)
14201419
async def mock_run_empty(*args, **kwargs):
1421-
if False: yield # Tells Python this is an async generator
1420+
if False: yield # Tells Python this is an async generator
14221421
return
14231422

14241423
# Apply the mock to the Runner class
@@ -1437,7 +1436,5 @@ async def mock_run_empty(*args, **kwargs):
14371436
assert response.status_code == 200
14381437
assert response.json() == []
14391438

1440-
logger.info("Agent run resume without message test passed gracefully")
1441-
14421439
if __name__ == "__main__":
14431440
pytest.main(["-xvs", __file__])

0 commit comments

Comments
 (0)