mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-31 19:16:29 +00:00
test(photon): fix PlatformConfig kwargs in target_not_allowed standalone test
This commit is contained in:
parent
ed02df6ddc
commit
95d303138b
1 changed files with 1 additions and 1 deletions
|
|
@ -628,7 +628,7 @@ async def test_standalone_send_classifies_target_not_allowed(
|
|||
monkeypatch.setattr(photon_adapter.httpx, "AsyncClient", _FakeClient)
|
||||
|
||||
result = await photon_adapter._standalone_send(
|
||||
PlatformConfig(name="photon", enabled=True), "space-1", "hello",
|
||||
PlatformConfig(enabled=True, extra={}), "space-1", "hello",
|
||||
)
|
||||
|
||||
assert result.get("error") == photon_adapter._TARGET_NOT_ALLOWED_MESSAGE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue