Skip to content

Commit ba3206b

Browse files
committed
테스트: 투자 보고서와 설치 선행조건 계약 교정
1 parent 9d07686 commit ba3206b

2 files changed

Lines changed: 14 additions & 5 deletions

File tree

‎tests/ai/runtime/test_setupCoordinator.py‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
from dartlab.ai.runtime.installManager import InstallPlan
1010
from dartlab.ai.runtime.mcpBootstrap import McpConnectPlan
11-
from dartlab.ai.runtime.setupCoordinator import prepareRuntime, previewRuntimeSetup
11+
from dartlab.ai.runtime.setupCoordinator import PrerequisitePlan, prepareRuntime, previewRuntimeSetup
1212

1313
pytestmark = pytest.mark.unit
1414

@@ -140,9 +140,13 @@ def test_setup_plan_includes_node_prerequisite_in_same_approval(monkeypatch) ->
140140
calls: list[str] = []
141141
_patchSetup(monkeypatch, engine, calls)
142142
monkeypatch.setattr(
143-
setup.shutil,
144-
"which",
145-
lambda executable: "C:\\Windows\\winget.exe" if executable == "winget" else None,
143+
setup,
144+
"_buildPrerequisitePlan",
145+
lambda _plan: PrerequisitePlan(
146+
"nodejs",
147+
"Node.js LTS",
148+
("winget", "install", "--id", "OpenJS.NodeJS.LTS"),
149+
),
146150
)
147151

148152
plan = previewRuntimeSetup("codex", engine=engine)

‎tests/story/test_documentedExamplesResolve.py‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,12 @@ def testDashboardGetsMoreThanOneLens() -> None:
5252
def testInvestmentReportUsesEveryDecisionLens() -> None:
5353
assert enginesForReportType("investment") == ("analysis", "industry", "macro")
5454
assert len(reportTypes.REPORT_TYPES["investment"].focusQuestions) >= 5
55-
assert reportTypes.REPORT_TYPES["investment"].sectionOrder == ("종합평가", "수익구조", "현금흐름")
55+
assert reportTypes.REPORT_TYPES["investment"].sectionOrder == (
56+
"종합평가",
57+
"수익구조",
58+
"현금흐름",
59+
"storyValidation",
60+
)
5661

5762

5863
def testNarrowReportTypesStayNarrow() -> None:

0 commit comments

Comments
 (0)