Skip to content

Commit d94fa1b

Browse files
committed
test(shell): use single import style for ui.shell in silent-update test
1 parent 0c96e1b commit d94fa1b

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

tests/ui_and_conv/test_silent_auto_update.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,18 @@
1414
from pythinker_code.soul.agent import Agent, Runtime
1515
from pythinker_code.soul.context import Context
1616
from pythinker_code.soul.pythinkersoul import PythinkerSoul
17-
from pythinker_code.ui.shell import Shell
1817
from pythinker_code.ui.shell.update import UpdateResult
1918

2019

21-
def _make_shell(runtime: Runtime, tmp_path: Path) -> Shell:
20+
def _make_shell(runtime: Runtime, tmp_path: Path) -> shell_module.Shell:
2221
agent = Agent(
2322
name="Test Agent",
2423
system_prompt="Test system prompt.",
2524
toolset=EmptyToolset(),
2625
runtime=runtime,
2726
)
2827
soul = PythinkerSoul(agent, context=Context(file_backend=tmp_path / "history.jsonl"))
29-
return Shell(soul)
28+
return shell_module.Shell(soul)
3029

3130

3231
@pytest.fixture

0 commit comments

Comments
 (0)