Skip to content

test: 日本語ローカルLLMラベル契約を更新 - #567

Open
YoneRai12 wants to merge 1 commit into
mainfrom
codex/fix-cli-test-for-japanese-local-llm
Open

test: 日本語ローカルLLMラベル契約を更新#567
YoneRai12 wants to merge 1 commit into
mainfrom
codex/fix-cli-test-for-japanese-local-llm

Conversation

@YoneRai12

Copy link
Copy Markdown
Owner

Motivation

  • 日本語版のローカルLLM表示フォーマッタが出力ラベルをやることからに変更したため、既存のテストがCI上で失敗していたため、表示文言とテスト期待値を整合させるための修正です。変更は表示テキストの期待値だけに留め、ランタイム挙動は変更していません。

Description

  • tests/test_interactive_short_commands.py の該当アサーションを "やること: Ollama か LM Studio を起動して /ローカルLLM" から "次: Ollama か LM Studio を起動して /ローカルLLM" に書き換えました(テスト契約の更新のみ)。
  • 実装ファイル clients/cli/yonerai_cli/interactive.py 自体はそのまま(既に 次: を出力する実装があるため変更不要)です。
  • ランタイム、認証、ファイル/ネットワークアクセス、シークレット、src/cogs/ora.py、および reference_clawdbot には影響を与えていません。

Testing

  • 実行した自動テストと検証は次のとおりで、すべて成功しました: python -m pytest tests/test_interactive_short_commands.py::test_chat_script_accepts_japanese_local_llm_slash_command -q(合格)、python -m compileall clients/cli/yonerai_cli tests/test_interactive_short_commands.py(合格)、python -m ruff check tests/test_interactive_short_commands.py clients/cli/yonerai_cli/interactive.py(合格)、および git diff --check(合格)。
  • 変更ファイルに対するシークレット/ローカルパススキャンと mojibake/hidden-Unicode スキャンを実施し、問題は検出されませんでした。
  • 変更コミット: ec6f994(テスト期待値更新)。
  • 境界ノート: 本PRは表示テキストのテスト期待値のみを更新する狭い修正であり、外部境界(シークレット・デプロイ・プロダクションキー等)には触れていません。

Codex Task

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates a test assertion in tests/test_interactive_short_commands.py to reflect a change in the Japanese output text, replacing 'やること' (To do) with '次' (Next). There are no review comments, so I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant