From 29fb0fd96525b48c0aa50e55b69fa426eaa9b8e2 Mon Sep 17 00:00:00 2001 From: "takemi.ohama" Date: Thu, 15 Oct 2026 17:52:03 +0900 Subject: [PATCH] =?UTF-8?q?Test:=20open=5Feditor=20=E3=81=AE=E4=BE=8B?= =?UTF-8?q?=E3=81=AE=E4=BD=9C=E6=88=90=E8=80=85=E3=81=AE=E5=80=8B=E4=BA=BA?= =?UTF-8?q?=E3=81=AE=E3=83=97=E3=83=AD=E3=82=B8=E3=82=A7=E3=82=AF=E3=83=88?= =?UTF-8?q?=E5=90=8D=E3=82=92=20myapp-ml=20=E3=81=AB=E7=BD=AE=E3=81=8D?= =?UTF-8?q?=E6=8F=9B=E3=81=88=E3=82=8B=20(#365)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remote-SSH で DEVBASE_EDITOR_SSH_HOST を空にしたときのフラット URI のテストで、 project_name・workdir と URI の末尾のアサーションに作成者の個人のプロジェクト名が 残っていた。#294 の置き換えの表に足した myapp-ml へ揃える。確かめる内容は変えない。 Co-Authored-By: Claude Opus 5.5 --- tests/editor/test_opener.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/editor/test_opener.py b/tests/editor/test_opener.py index fa4cf748..7fc3ad9a 100644 --- a/tests/editor/test_opener.py +++ b/tests/editor/test_opener.py @@ -1278,7 +1278,7 @@ def boom(*a, **kw): calls = [] with caplog.at_level(logging.INFO): opener.open_editor( - project_name="investment", dev_service_name="dev", workdir="/work/investment", + project_name="myapp-ml", dev_service_name="dev", workdir="/work/myapp-ml", environ={"VSCODE_IPC_HOOK_CLI": "/run/x.sock", "SSH_CONNECTION": "192.168.1.16 5 192.168.1.201 22", "DEVBASE_EDITOR_SSH_HOST": ""}, @@ -1286,7 +1286,7 @@ def boom(*a, **kw): docker_context="wsl", ) uri = calls[0][2] - assert "@ssh-remote+" not in uri and uri.endswith("/work/investment") + assert "@ssh-remote+" not in uri and uri.endswith("/work/myapp-ml") assert _decode(uri)["settings"]["context"] == "wsl" text = "\n".join(r.getMessage() for r in caplog.records) assert "同名" not in text # ネストしていないので案内は出ない