Skip to content

Commit a3f740e

Browse files
committed
chore: format the new assertions at the repo's 70-char line length
black==24.2.0 --check is a CI gate and these two hunks were over it, so lint was red on this branch. Behaviour unchanged: one call assertion wrapped, one docstring closer moved to its own line.
1 parent db3eaa8 commit a3f740e

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

tests/structs/test_reasoning_agent_router.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,9 @@ def test_run_forwards_kwargs_and_rejects_stray_positionals():
349349
router, "select_swarm", return_value=mock_swarm
350350
):
351351
router.run("task", key="value")
352-
mock_swarm.run.assert_called_once_with(task="task", key="value")
352+
mock_swarm.run.assert_called_once_with(
353+
task="task", key="value"
354+
)
353355

354356
with pytest.raises(TypeError):
355357
router.run("task", "extra_arg")
@@ -414,7 +416,8 @@ def test_batched_run_empty_list():
414416

415417
def test_batched_run_forwards_kwargs_to_every_task():
416418
"""batched_run reached self.run(task) with no kwargs, so img,
417-
streaming_callback and everything else were dropped for batched callers."""
419+
streaming_callback and everything else were dropped for batched callers.
420+
"""
418421
router = ReasoningAgentRouter(swarm_type="reasoning-duo")
419422
with patch.object(router, "run", return_value="x") as mock_run:
420423
router.batched_run(["a", "b"], kw="val")

0 commit comments

Comments
 (0)