From c90fb29f1e14b860068d23a1758366222fb6633e Mon Sep 17 00:00:00 2001 From: Zentrik Date: Tue, 6 Jan 2026 23:23:38 +0000 Subject: [PATCH] no config debug: Fix env var name in test Seems https://github.com/microsoft/vscode-python-debugger/pull/620 forgot to update this and so the test wasn't checking if `VSCODE_DEBUGPY_ADAPTER_ENDPOINTS` was being set correctly. --- src/test/unittest/noConfigDebugInit.unit.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/unittest/noConfigDebugInit.unit.test.ts b/src/test/unittest/noConfigDebugInit.unit.test.ts index 3cf6e401..1805dd66 100644 --- a/src/test/unittest/noConfigDebugInit.unit.test.ts +++ b/src/test/unittest/noConfigDebugInit.unit.test.ts @@ -19,7 +19,7 @@ suite('setup for no-config debug scenario', function () { let context: TypeMoq.IMock; let noConfigScriptsDir: string; let bundledDebugPath: string; - let DEBUGPY_ADAPTER_ENDPOINTS = 'DEBUGPY_ADAPTER_ENDPOINTS'; + let DEBUGPY_ADAPTER_ENDPOINTS = 'VSCODE_DEBUGPY_ADAPTER_ENDPOINTS'; let BUNDLED_DEBUGPY_PATH = 'BUNDLED_DEBUGPY_PATH'; let workspaceUriStub: sinon.SinonStub; @@ -49,7 +49,7 @@ suite('setup for no-config debug scenario', function () { workspaceUriStub.restore(); }); - test('should add environment variables for DEBUGPY_ADAPTER_ENDPOINTS, BUNDLED_DEBUGPY_PATH, and PATH', async () => { + test('should add environment variables for VSCODE_DEBUGPY_ADAPTER_ENDPOINTS, BUNDLED_DEBUGPY_PATH, and PATH', async () => { const environmentVariableCollectionMock = TypeMoq.Mock.ofType(); envVarCollectionReplaceStub = sinon.stub(); envVarCollectionAppendStub = sinon.stub();