The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test: repoint cross-test imports at the moved modules; opt one backoff test out of the merged agent fixture
teknium176e88cae2a5a
diff --git a/pyproject.toml b/pyproject.tomlindex ee77c1e53a9..486300eb06d 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -585,6 +585,7 @@ markers = ["integration: marks tests requiring external services (API keys, Modal, etc.)","real_concurrent_gate: opt out of the autouse stub that disables _detect_concurrent_hermes_instances","real_agent_prewarm: opt out of the autouse stub that disables the tui_gateway deferred agent pre-warm timer",+ "real_retry_backoff: opt out of the tests/agent autouse stub that zeroes jittered_backoff","requires_wal: needs the runtime to actually enable SQLite WAL mode (skipped where Hermes falls back to journal_mode=DELETE)","no_isolate: opt out of per-file subprocess isolation (tests share mutable module-level state)","ssh: marks tests requiring a reachable SSH server (skipped in normal CI)",diff --git a/tests/agent/conftest.py b/tests/agent/conftest.pyindex 5dde64145c1..2bba1386ad8 100644--- a/tests/agent/conftest.py+++ b/tests/agent/conftest.py@@ -24,8 +24,14 @@ import pytest@pytest.fixture(autouse=True)-def _fast_retry_backoff(monkeypatch):- """Short-circuit retry backoff for all tests in this directory."""+def _fast_retry_backoff(request, monkeypatch):+ """Short-circuit retry backoff for all tests in this directory.++ Tests that assert on the real backoff value opt out with+ ``@pytest.mark.real_retry_backoff``.+ """+ if request.node.get_closest_marker("real_retry_backoff"):+ return# The agent.turn_* retry paths import ``jittered_backoff`` lazily from# ``agent.retry_utils``; patch it there so rate-limit / invalid-response /# server-error retries don't burn real wall-clock seconds.diff --git a/tests/agent/test_continuation_ceiling_wedge.py b/tests/agent/test_continuation_ceiling_wedge.pyindex 11d3bee03ab..c6e1820355d 100644--- a/tests/agent/test_continuation_ceiling_wedge.py+++ b/tests/agent/test_continuation_ceiling_wedge.py@@ -40,7 +40,7 @@ def loop_agent():def _stub(content):- from tests.run_agent.test_run_agent import _mock_assistant_msg+ from tests.agent.test_run_agent import _mock_assistant_msgreturn SimpleNamespace(id=PARTIAL_STREAM_STUB_ID,model="test/model",@@ -80,7 +80,7 @@ class TestContinuationCeilingWedge:def test_new_user_message_issues_fresh_request(self, loop_agent):"""Core regression: after the ceiling, a new user turn must reachthe provider instead of replaying wedge state."""- from tests.run_agent.test_run_agent import _mock_response+ from tests.agent.test_run_agent import _mock_responseresult1 = self._exhaust_ceiling(loop_agent)assert "truncated after 4 continuation attempts" in (result1.get("error") or "")@@ -153,7 +153,7 @@ class TestContinuationCeilingWedge:sanitized api_messages must never carry them — only thechat-completions transport strips underscore keys, so anthropicand bedrock requests would otherwise send them to the provider."""- from tests.run_agent.test_run_agent import _mock_response+ from tests.agent.test_run_agent import _mock_responseseen_api_messages = []original = loop_agent._build_api_kwargs@@ -214,7 +214,7 @@ class TestContinuationCeilingWedge:def test_new_turn_does_not_inherit_continuation_counter(self, loop_agent):"""A single truncation on the turn AFTER the ceiling must get itsown full 4-attempt budget, not the exhausted counter."""- from tests.run_agent.test_run_agent import _mock_response+ from tests.agent.test_run_agent import _mock_responseresult1 = self._exhaust_ceiling(loop_agent)loop_agent.client.chat.completions.create.side_effect = [diff --git a/tests/agent/test_continuation_repetition_guard.py b/tests/agent/test_continuation_repetition_guard.pyindex bfaee6bfd40..2143e2f9c2c 100644--- a/tests/agent/test_continuation_repetition_guard.py+++ b/tests/agent/test_continuation_repetition_guard.py@@ -45,7 +45,7 @@ def loop_agent():def _stub(content):- from tests.run_agent.test_run_agent import _mock_assistant_msg+ from tests.agent.test_run_agent import _mock_assistant_msgreturn SimpleNamespace(id=PARTIAL_STREAM_STUB_ID,diff --git a/tests/agent/test_dropped_tool_call_recovery.py b/tests/agent/test_dropped_tool_call_recovery.pyindex 9ebc1820207..431a0019957 100644--- a/tests/agent/test_dropped_tool_call_recovery.py+++ b/tests/agent/test_dropped_tool_call_recovery.py@@ -53,7 +53,7 @@ def loop_agent():def _dropped_tool_call_response(content: str):"""A response whose finish_reason claims a tool call, but tool_calls isempty — the provider contract violation this fix recovers from."""- from tests.run_agent.test_run_agent import _mock_assistant_msg+ from tests.agent.test_run_agent import _mock_assistant_msgreturn SimpleNamespace(id="chatcmpl-dropped",model="test/model",@@ -71,7 +71,7 @@ class TestDroppedToolCallRecovery:"""finish_reason=tool_calls with an empty tool_calls array mustre-prompt the model to emit the call rather than exiting the loopwith the narration as the final answer."""- from tests.run_agent.test_run_agent import _mock_response+ from tests.agent.test_run_agent import _mock_responseloop_agent.client.chat.completions.create.side_effect = [_dropped_tool_call_response("Let me verify the PR and gather evidence."),@@ -107,7 +107,7 @@ class TestDroppedToolCallRecovery:def test_clean_stop_text_turn_is_unaffected(self, loop_agent):"""A genuine finish_reason=stop text response must exit normally — therecovery path must not fire on ordinary final answers."""- from tests.run_agent.test_run_agent import _mock_response+ from tests.agent.test_run_agent import _mock_responseloop_agent.client.chat.completions.create.side_effect = [_mock_response(content="Here is your answer.", finish_reason="stop"),@@ -128,7 +128,7 @@ class TestDroppedToolCallRecovery:def test_persistent_dropped_tool_calls_are_bounded(self, loop_agent):"""If the model never emits a call, the recovery must give up after abounded number of consecutive stalls instead of looping forever."""- from tests.run_agent.test_run_agent import _mock_response+ from tests.agent.test_run_agent import _mock_response# Stage plenty of dropped-tool-call responses followed by a clean stop,# so that if the bound is respected the loop exits on its own well@@ -158,7 +158,7 @@ class TestDroppedToolCallRecovery:internal "issue the actual tool call now" instruction as user-authoredcontext (#69630 review follow-up)."""from agent.session_persistence import _is_ephemeral_scaffolding- from tests.run_agent.test_run_agent import _mock_response+ from tests.agent.test_run_agent import _mock_responseloop_agent.client.chat.completions.create.side_effect = [_dropped_tool_call_response("Let me verify the PR."),diff --git a/tests/agent/test_export_current_turn_boundary.py b/tests/agent/test_export_current_turn_boundary.pyindex 33a2ca75dcd..4fc9f271cb4 100644--- a/tests/agent/test_export_current_turn_boundary.py+++ b/tests/agent/test_export_current_turn_boundary.py@@ -86,7 +86,7 @@ def loop_agent():def _stub(content, finish_reason="stop"):- from tests.run_agent.test_run_agent import _mock_assistant_msg+ from tests.agent.test_run_agent import _mock_assistant_msgreturn SimpleNamespace(id="chatcmpl-test",diff --git a/tests/agent/test_first_chunk_at_hook.py b/tests/agent/test_first_chunk_at_hook.pyindex 7c93f002bf2..a7aa0dc1080 100644--- a/tests/agent/test_first_chunk_at_hook.py+++ b/tests/agent/test_first_chunk_at_hook.py@@ -24,7 +24,7 @@ from unittest.mock import MagicMock, patchimport pytestfrom run_agent import AIAgent-from tests.run_agent.test_run_agent import (+from tests.agent.test_run_agent import (_make_tool_defs,_mock_response,)diff --git a/tests/agent/test_length_continuation_thinking_exhaustion.py b/tests/agent/test_length_continuation_thinking_exhaustion.pyindex 6aa97baa6bb..c6c4aac0873 100644--- a/tests/agent/test_length_continuation_thinking_exhaustion.py+++ b/tests/agent/test_length_continuation_thinking_exhaustion.py@@ -113,7 +113,7 @@ def _thinking_only_length_response():"""finish_reason='length' with reasoning but zero visible content — thelive GLM-5.3-flash-on-ollama-cloud shape (normal response id, NOT thepartial-stream stub)."""- from tests.run_agent.test_run_agent import _mock_assistant_msg+ from tests.agent.test_run_agent import _mock_assistant_msgreturn SimpleNamespace(id="chatcmpl-thinking-exhausted",@@ -128,13 +128,13 @@ def _thinking_only_length_response():def _full_response(content):- from tests.run_agent.test_run_agent import _mock_response+ from tests.agent.test_run_agent import _mock_responsereturn _mock_response(content=content, finish_reason="stop")def _truncated_text_response(content):- from tests.run_agent.test_run_agent import _mock_response+ from tests.agent.test_run_agent import _mock_responsereturn _mock_response(content=content, finish_reason=FINISH_REASON_LENGTH)@@ -187,7 +187,7 @@ class TestThinkingOnlyTruncation:)def test_thinking_only_truncation_sets_reasoning_off(self, loop_agent):- from tests.run_agent.test_run_agent import _mock_response+ from tests.agent.test_run_agent import _mock_responseloop_agent.client.chat.completions.create.side_effect = [_thinking_only_length_response(),diff --git a/tests/agent/test_length_continuation_window_headroom.py b/tests/agent/test_length_continuation_window_headroom.pyindex 44dc03ea0c0..46eebbb1062 100644--- a/tests/agent/test_length_continuation_window_headroom.py+++ b/tests/agent/test_length_continuation_window_headroom.py@@ -42,7 +42,7 @@ def loop_agent():def _length_response(content: str, prompt_tokens: int):- from tests.run_agent.test_run_agent import _mock_assistant_msg+ from tests.agent.test_run_agent import _mock_assistant_msgreturn SimpleNamespace(id="resp",model="test/model",diff --git a/tests/agent/test_outer_error_retry_bound.py b/tests/agent/test_outer_error_retry_bound.pyindex 614a591d23d..8a4a0e17826 100644--- a/tests/agent/test_outer_error_retry_bound.py+++ b/tests/agent/test_outer_error_retry_bound.py@@ -39,7 +39,7 @@ def loop_agent():"""AIAgent with a mocked OpenAI client (mirrors test_run_agent's fixture)so we can stage responses on ``.chat.completions.create``."""from run_agent import AIAgent- from tests.run_agent.test_run_agent import _mock_response+ from tests.agent.test_run_agent import _mock_responsewith (patch("model_tools.get_tool_definitions", return_value=[]),diff --git a/tests/agent/test_partial_stream_finish_reason.py b/tests/agent/test_partial_stream_finish_reason.pyindex 20ca79c575d..7f3bc988f9c 100644--- a/tests/agent/test_partial_stream_finish_reason.py+++ b/tests/agent/test_partial_stream_finish_reason.py@@ -420,7 +420,7 @@ class TestConversationLoopPartialStreamContinuation:through length_continue_retries — the loop persists the partialcontent and asks the model to continue."""- from tests.run_agent.test_run_agent import _mock_response, _mock_assistant_msg+ from tests.agent.test_run_agent import _mock_response, _mock_assistant_msg# First API call: the partial-stream stub (length on partial-stream-stub id).partial_stub = SimpleNamespace(@@ -535,7 +535,7 @@ class TestContentFilterStallActivatesFallback:"""Layer 3: a tagged stub activates fallback on the FIRST pass, withzero continuation retries burned, and the fallback provider thencompletes the turn."""- from tests.run_agent.test_run_agent import _mock_assistant_msg, _mock_response+ from tests.agent.test_run_agent import _mock_assistant_msg, _mock_responsedef _filter_stub():return SimpleNamespace(@@ -604,7 +604,7 @@ class TestEmptyPartialStreamStubNotPersisted:"""def test_empty_stub_only_appends_continuation_user_message(self, loop_agent):- from tests.run_agent.test_run_agent import _mock_response, _mock_assistant_msg+ from tests.agent.test_run_agent import _mock_response, _mock_assistant_msg# First API call: empty partial-stream stub — stream died mid# tool-call args with zero text delivered.@@ -689,7 +689,7 @@ class TestBuildAssistantMessageEmptyContentPad:def test_empty_content_stored_as_is(self):from agent.chat_completion_helpers import build_assistant_message- from tests.run_agent.test_run_agent import _mock_assistant_msg+ from tests.agent.test_run_agent import _mock_assistant_msgagent = self._agent_for_builder()msg = build_assistant_message(agent, _mock_assistant_msg(content=""), "stop")@@ -702,7 +702,7 @@ class TestBuildAssistantMessageEmptyContentPad:def test_tool_call_turn_content_left_empty(self):from agent.chat_completion_helpers import build_assistant_message- from tests.run_agent.test_run_agent import _mock_assistant_msg, _mock_tool_call+ from tests.agent.test_run_agent import _mock_assistant_msg, _mock_tool_callagent = self._agent_for_builder()msg = build_assistant_message(@@ -716,7 +716,7 @@ class TestBuildAssistantMessageEmptyContentPad:def test_non_empty_content_unchanged(self):from agent.chat_completion_helpers import build_assistant_message- from tests.run_agent.test_run_agent import _mock_assistant_msg+ from tests.agent.test_run_agent import _mock_assistant_msgagent = self._agent_for_builder()msg = build_assistant_message(agent, _mock_assistant_msg(content="hi"), "stop")@@ -737,7 +737,7 @@ class TestSendTimeEmptyAssistantPad:be empty" / Anthropic "all messages must have non-empty content")."""def _run_one_turn_with_history(self, loop_agent, history):- from tests.run_agent.test_run_agent import _mock_response+ from tests.agent.test_run_agent import _mock_responseloop_agent.client.chat.completions.create.return_value = _mock_response(content="ok", finish_reason="stop",)@@ -820,7 +820,7 @@ class TestSendTimePadMultimodalSafety:"""def test_multimodal_assistant_content_not_touched(self, loop_agent):- from tests.run_agent.test_run_agent import _mock_response+ from tests.agent.test_run_agent import _mock_responsemultimodal = [{"role": "user", "content": "look at this"},{"role": "assistant", "content": [diff --git a/tests/agent/test_sanitiser_escalation.py b/tests/agent/test_sanitiser_escalation.pyindex 1e49fd3e1ab..c6bf475d448 100644--- a/tests/agent/test_sanitiser_escalation.py+++ b/tests/agent/test_sanitiser_escalation.py@@ -292,7 +292,7 @@ class TestProjectionStopsReheal:from unittest.mock import patchimport agent.agent_runtime_helpers as _arh- from tests.run_agent.test_run_agent import _mock_response+ from tests.agent.test_run_agent import _mock_responseagent = self._loop_agent()agent.client.chat.completions.create.side_effect = [@@ -351,7 +351,7 @@ class TestProjectionStopsReheal:from unittest.mock import patchimport agent.agent_runtime_helpers as _arh- from tests.run_agent.test_run_agent import _mock_response+ from tests.agent.test_run_agent import _mock_responseagent = self._loop_agent()agent.client.chat.completions.create.side_effect = [diff --git a/tests/agent/test_shared_client_fd_corruption.py b/tests/agent/test_shared_client_fd_corruption.pyindex 27839b901fc..8b2f370fe11 100644--- a/tests/agent/test_shared_client_fd_corruption.py+++ b/tests/agent/test_shared_client_fd_corruption.py@@ -30,7 +30,7 @@ from unittest.mock import MagicMock, patchimport httpximport pytest-from tests.run_agent.test_streaming import _make_stream_chunk+from tests.agent.test_streaming import _make_stream_chunkdef _make_agent():@@ -160,7 +160,7 @@ class TestStaleWatchdogNeverClosesSharedClient:):"""Connection drop mid tool-call → silent retry closes only therequest-local client; the shared primary is left alone."""- from tests.run_agent.test_streaming import _make_tool_call_delta+ from tests.agent.test_streaming import _make_tool_call_deltamonkeypatch.setenv("HERMES_STREAM_RETRIES", "2")diff --git a/tests/agent/test_steer.py b/tests/agent/test_steer.pyindex 3166d0f665b..72fea81d41f 100644--- a/tests/agent/test_steer.py+++ b/tests/agent/test_steer.py@@ -816,7 +816,7 @@ class TestLegacyHiddenPlaceholderWireSubstitution:import agent.agent_runtime_helpers as _arh- from tests.run_agent.test_run_agent import _mock_response+ from tests.agent.test_run_agent import _mock_responseagent = self._loop_agent()agent.client.chat.completions.create.side_effect = [@@ -882,7 +882,7 @@ class TestLegacyHiddenPlaceholderWireSubstitution:from agent.conversation_loop import _clone_message_for_send # noqa: F401from unittest.mock import patch- from tests.run_agent.test_run_agent import _mock_response+ from tests.agent.test_run_agent import _mock_responseagent = self._loop_agent()agent.client.chat.completions.create.side_effect = [diff --git a/tests/agent/test_stream_interrupt_retry.py b/tests/agent/test_stream_interrupt_retry.pyindex 96fb9c9cfa0..dda6e65d641 100644--- a/tests/agent/test_stream_interrupt_retry.py+++ b/tests/agent/test_stream_interrupt_retry.py@@ -185,7 +185,7 @@ class TestStreamInterruptBeforeRetry:import httpximport time- from tests.run_agent.test_streaming import (+ from tests.agent.test_streaming import (_make_stream_chunk,_make_tool_call_delta,)diff --git a/tests/agent/test_text_turn_incremental_persistence.py b/tests/agent/test_text_turn_incremental_persistence.pyindex 0f6dceb4eaa..82893f236e4 100644--- a/tests/agent/test_text_turn_incremental_persistence.py+++ b/tests/agent/test_text_turn_incremental_persistence.py@@ -67,7 +67,7 @@ def _run_text_turn(agent, answer: str, *, flush_side_effect=None):*at call time*, so the assertion cannot be satisfied by a later mutationof the same live list."""- from tests.run_agent.test_run_agent import _mock_response+ from tests.agent.test_run_agent import _mock_responseagent.client.chat.completions.create.side_effect = [_mock_response(content=answer, finish_reason="stop"),diff --git a/tests/agent/test_thinking_prefill_trailing_turn.py b/tests/agent/test_thinking_prefill_trailing_turn.pyindex 1472f1f577f..f782134e3f6 100644--- a/tests/agent/test_thinking_prefill_trailing_turn.py+++ b/tests/agent/test_thinking_prefill_trailing_turn.py@@ -53,7 +53,7 @@ def loop_agent():def _thinking_only_response():"""Reasoning tokens, no visible text — what triggers the prefill retry."""- from tests.run_agent.test_run_agent import _mock_response+ from tests.agent.test_run_agent import _mock_responsereturn _mock_response(content="",finish_reason="stop",@@ -63,7 +63,7 @@ def _thinking_only_response():def _final_response(text="Here is the answer."):"""An ordinary text turn that ends the loop."""- from tests.run_agent.test_run_agent import _mock_response+ from tests.agent.test_run_agent import _mock_responsereturn _mock_response(content=text, finish_reason="stop")diff --git a/tests/agent/test_turn_context_overflow_warning.py b/tests/agent/test_turn_context_overflow_warning.pyindex b9034d4b80d..050edff1e27 100644--- a/tests/agent/test_turn_context_overflow_warning.py+++ b/tests/agent/test_turn_context_overflow_warning.py@@ -197,7 +197,7 @@ class TestPluginEngineDefault:for free from the ContextEngine base class — the call sites inturn_context.py / conversation_loop.py must not raiseAttributeError on plugin engines (sweeper review, #62625)."""- from tests.run_agent.test_plugin_context_engine_init import _StubEngine+ from tests.agent.test_plugin_context_engine_init import _StubEngineengine = _StubEngine()result = engine.should_compress_info(123_456)diff --git a/tests/agent/test_turn_recovery_retry_notice.py b/tests/agent/test_turn_recovery_retry_notice.pyindex 4a3f57b3c33..3488e9908f1 100644--- a/tests/agent/test_turn_recovery_retry_notice.py+++ b/tests/agent/test_turn_recovery_retry_notice.py@@ -9,9 +9,12 @@ use, so it adds none of the transcript chatter the buffer exists to avoid."""from unittest.mock import MagicMock+import pytest+from agent.turn_recovery import compute_error_backoff[email protected]_retry_backoffdef test_retry_backoff_names_the_wait_on_the_live_status_line():agent = MagicMock()agent._client_log_context.return_value = ""diff --git a/tests/gateway/test_turn_lease.py b/tests/gateway/test_turn_lease.pyindex 2f8372cbe03..ded1dfec1cc 100644--- a/tests/gateway/test_turn_lease.py+++ b/tests/gateway/test_turn_lease.py@@ -154,7 +154,7 @@ async def test_agent_path_propagates_timed_out_lease_before_loading_transcript(transcript loading and agent execution must not start: both would operatewithout the per-session serialization guarantee."""- from tests.gateway.test_42039_duplicate_user_message import (+ from tests.gateway.test_duplicate_user_message import (_bootstrap,_event,_source,@@ -193,7 +193,7 @@ async def test_full_dispatch_rejects_lease_timeout_without_running_goal_hook(The lease wait also has its own clock: a short lease budget must rejectpromptly even while the normal agent inactivity timeout remains long."""- from tests.gateway.test_42039_duplicate_user_message import _bootstrap, _event+ from tests.gateway.test_duplicate_user_message import _bootstrap, _eventrunner = _bootstrap(monkeypatch, tmp_path)runner._turn_leases = SessionTurnLeaseRegistry()diff --git a/tests/hermes_cli/test_cli_retry.py b/tests/hermes_cli/test_cli_retry.pyindex a4615f1f51c..af66d238f5b 100644--- a/tests/hermes_cli/test_cli_retry.py+++ b/tests/hermes_cli/test_cli_retry.py@@ -12,7 +12,7 @@ from agent.context_compressor import ()from hermes_state import SessionDB-from tests.cli.test_cli_init import _make_cli+from tests.hermes_cli.test_cli_init import _make_clidef _composite_carrier(ask="REAL ASK"):diff --git a/tests/hermes_cli/test_compress_focus.py b/tests/hermes_cli/test_compress_focus.pyindex d5f6c156564..3f4883f79f3 100644--- a/tests/hermes_cli/test_compress_focus.py+++ b/tests/hermes_cli/test_compress_focus.py@@ -5,7 +5,7 @@ Inspired by Claude Code's /compact <focus> feature.from unittest.mock import MagicMock, patch-from tests.cli.test_cli_init import _make_cli+from tests.hermes_cli.test_cli_init import _make_clidef _make_history() -> list[dict[str, str]]:diff --git a/tests/hermes_cli/test_compress_here.py b/tests/hermes_cli/test_compress_here.pyindex bb5bb5c945b..febc7d4d1e9 100644--- a/tests/hermes_cli/test_compress_here.py+++ b/tests/hermes_cli/test_compress_here.py@@ -7,7 +7,7 @@ Rewind "Summarize up to here" action (v2.1.139, May 2026).from unittest.mock import MagicMock, patch-from tests.cli.test_cli_init import _make_cli+from tests.hermes_cli.test_cli_init import _make_clidef _make_history() -> list[dict[str, str]]:diff --git a/tests/hermes_cli/test_compress_type_ahead.py b/tests/hermes_cli/test_compress_type_ahead.pyindex 0bf1dba3ade..33fc502ead4 100644--- a/tests/hermes_cli/test_compress_type_ahead.py+++ b/tests/hermes_cli/test_compress_type_ahead.py@@ -41,7 +41,7 @@ from unittest.mock import MagicMock, patchimport pytest-from tests.cli.test_cli_init import _make_cli+from tests.hermes_cli.test_cli_init import _make_clidef _make_history() -> list[dict[str, str]]:diff --git a/tests/hermes_cli/test_manual_compress.py b/tests/hermes_cli/test_manual_compress.pyindex 599313e1a99..84646fdceb2 100644--- a/tests/hermes_cli/test_manual_compress.py+++ b/tests/hermes_cli/test_manual_compress.py@@ -2,7 +2,7 @@from unittest.mock import MagicMock, patch-from tests.cli.test_cli_init import _make_cli+from tests.hermes_cli.test_cli_init import _make_clidef _make_history() -> list[dict[str, str]]:diff --git a/tests/hermes_cli/test_slash_undo_title_robustness.py b/tests/hermes_cli/test_slash_undo_title_robustness.pyindex 1a7d2181533..056a1875944 100644--- a/tests/hermes_cli/test_slash_undo_title_robustness.py+++ b/tests/hermes_cli/test_slash_undo_title_robustness.py@@ -11,7 +11,7 @@ Covers:from unittest.mock import patch-from tests.cli.test_cli_init import _make_cli+from tests.hermes_cli.test_cli_init import _make_clidef test_undo_non_numeric_count_keeps_repl_alive():diff --git a/tests/hermes_cli/test_tool_gen_start_dedupe.py b/tests/hermes_cli/test_tool_gen_start_dedupe.pyindex 2fb32c55a16..1f36e01fd14 100644--- a/tests/hermes_cli/test_tool_gen_start_dedupe.py+++ b/tests/hermes_cli/test_tool_gen_start_dedupe.py@@ -2,8 +2,8 @@from unittest.mock import patch-from tests.cli.test_tool_progress_scrollback import _make_cli-import tests.cli.test_tool_progress_scrollback as _scrollback+from tests.hermes_cli.test_tool_progress_scrollback import _make_cli+import tests.hermes_cli.test_tool_progress_scrollback as _scrollbackdef _announce(cli, names):