mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-30 19:09:28 +00:00
test: retarget nemo-relay telemetry stub at read_raw_config_readonly
Same sibling-mock class as the relay-metrics runtime file — this test stubs the telemetry gate's config read, which now goes through read_raw_config_readonly(). Swept the whole test tree for remaining read_raw_config stubs: all others target consumers that still use the mutable reader (browser config, url_safety, inventory) and carry no telemetry keys.
This commit is contained in:
parent
44d5a2df5a
commit
2164e548b1
1 changed files with 1 additions and 1 deletions
|
|
@ -381,7 +381,7 @@ def test_shared_metrics_and_rich_plugin_share_one_core_session(
|
|||
"HERMES_NEMO_RELAY_ATIF_OUTPUT_DIRECTORY", str(tmp_path / "atif")
|
||||
)
|
||||
monkeypatch.setattr(
|
||||
"hermes_cli.config.read_raw_config",
|
||||
"hermes_cli.config.read_raw_config_readonly",
|
||||
lambda: {"telemetry": {"shared_metrics": {"enabled": True}}},
|
||||
)
|
||||
plugin = _fresh_plugin(monkeypatch, fake)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue