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 # ネストしていないので案内は出ない