75일차 답 추가: 실습 정답 문서 · VIBE-A · 정답 워크플로우와 25단계 실행 기록 · tcost

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mcchaeandClaude Opus 5.5 committed 2026-10-29 09:57:32 +09:00
1 parent 01dc892303
commit ebff58c72e
79 files changed
+18753

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
"""R8: the three tabs fill from one folder, without calling any API."""
from textual.widgets import DataTable, TabbedContent
from tcost.app import CostApp
async def test_tabs(folder, table):
app = CostApp(str(folder), table)
async with app.run_test() as pilot:
await pilot.pause()
prompts = app.query_one("#prompt-table", DataTable)
assert prompts.row_count == 2 + 6 # two prompt files + six LLM steps of two workflows
app.query_one(TabbedContent).active = "usage"
await pilot.pause()
assert "2 request(s)" in str(app.query_one("#usage-head").render())
assert "15h" in str(app.query_one("#hours").render())
assert app.query_one("#compare-table", DataTable).row_count == 8