test: align test names with current assertions (#6130)
* test: align test names with current assertions * test: align suite names and explicit configuration cases
This commit is contained in:
1 parent
50256940be
commit
f04ed1c2eb
13 files changed
+24
-25
No files matched your search
@@ -29,11 +29,11 @@ class FakeImageClient:
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_outbound_no_longer_carries_generated_media(
|
||||
async def test_generate_image_does_not_attach_media_to_final_response(
|
||||
tmp_path: Path,
|
||||
monkeypatch: pytest.MonkeyPatch,
|
||||
) -> None:
|
||||
"""Media delivery is now the LLM's responsibility via the message tool."""
|
||||
"""Generating an image does not attach it to the final outbound response."""
|
||||
set_config_path(tmp_path / "config.json")
|
||||
monkeypatch.setattr(
|
||||
"nanobot.agent.tools.image_generation.get_image_gen_provider",
|
||||
@@ -80,6 +80,5 @@ async def test_outbound_no_longer_carries_generated_media(
|
||||
|
||||
assert result is not None
|
||||
assert result.content == "Done"
|
||||
# OutboundMessage no longer carries generated media —
|
||||
# the LLM sends images via the message tool instead.
|
||||
# Image delivery requires a separate message tool call.
|
||||
assert result.media == []
|
||||
Reference in new issue
Block a user