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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user