backend_test/docs: LMStudio/Ollama run 接続エンドポイントのテスト追加とドキュメント修正
- backend_test: /run/lmstudio_connection, /run/ollama_connection をテスト対象に追加(期待ステータス 200,400) - docs: controller.md / mainloop.md の LMStudio/Ollama 接続エンドポイント表記を /get/data→/run に修正 - docs: APIキー検証の厳格化と翻訳モデル選択時の適用確実化に関する説明を追記
This commit is contained in:
@@ -528,6 +528,12 @@ class TestMainloop():
|
||||
case "/run/feed_watchdog":
|
||||
data = None
|
||||
expected_status = [401] # !!!Cant be tested here!!!
|
||||
case "/run/lmstudio_connection":
|
||||
data = None
|
||||
expected_status = [200, 400]
|
||||
case "/run/ollama_connection":
|
||||
data = None
|
||||
expected_status = [200, 400]
|
||||
case _:
|
||||
data = None
|
||||
expected_status = [404]
|
||||
|
||||
Reference in New Issue
Block a user