chore(tui): strip noise comments
This commit is contained in:
@@ -17,11 +17,6 @@ def _args(**overrides):
|
||||
|
||||
@pytest.fixture
|
||||
def main_mod(monkeypatch):
|
||||
"""cmd_chat entry with the first-run provider-gate stubbed past.
|
||||
|
||||
`cmd_chat` now early-exits when no API key is configured (post-merge);
|
||||
these tests exercise the post-config routing so we fake the check out.
|
||||
"""
|
||||
import hermes_cli.main as mod
|
||||
|
||||
monkeypatch.setattr(mod, "_has_any_provider_configured", lambda: True)
|
||||
|
||||
@@ -231,8 +231,6 @@ def test_config_set_personality_resets_history_and_returns_info(monkeypatch):
|
||||
monkeypatch.setattr(server, "_session_info", lambda agent: {"model": getattr(agent, "model", "?")})
|
||||
monkeypatch.setattr(server, "_restart_slash_worker", lambda session: None)
|
||||
monkeypatch.setattr(server, "_emit", lambda *args: emits.append(args))
|
||||
# _write_config_key writes to ~/.hermes/config.yaml — races with other
|
||||
# xdist workers that touch the same file. Stub it out.
|
||||
monkeypatch.setattr(server, "_write_config_key", lambda path, value: None)
|
||||
|
||||
resp = server.handle_request(
|
||||
|
||||
Reference in New Issue
Block a user