From 250755d9ddc483849c8738bbd3a5388962c42f70 Mon Sep 17 00:00:00 2001 From: Eric Snow Date: Wed, 4 Dec 2019 12:30:01 -0700 Subject: [PATCH 1/3] Temporarily ignore src/test/get-pip.py. --- .gitignore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index cefa2212f557..a4ee92c6f02e 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,7 @@ tmp/** test-results.xml uitests/out/** !build/ + +# This is temporary. We will remove it when we adjust to not leave +# a file behind in src/test/interpreters/locators/workspaceVirtualEnvService.test.ts. +src/test/get-pip.py From 0fe1b9dbac15b18461da8700adc7cf577a8ab692 Mon Sep 17 00:00:00 2001 From: Eric Snow Date: Wed, 4 Dec 2019 12:30:58 -0700 Subject: [PATCH 2/3] Make sure IFileSystem is registered in DI during tests. --- src/test/debugger/envVars.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/debugger/envVars.test.ts b/src/test/debugger/envVars.test.ts index 95fc1160275a..2e2af579c88f 100644 --- a/src/test/debugger/envVars.test.ts +++ b/src/test/debugger/envVars.test.ts @@ -49,6 +49,7 @@ suite('Resolving Environment Variables when Debugging', () => { function initializeDI() { ioc = new UnitTestIocContainer(); ioc.registerProcessTypes(); + ioc.registerFileSystemTypes(); ioc.registerVariableTypes(); ioc.registerMockProcess(); } From 681937f7557c1ca8d9464907dc281edf11ceafc0 Mon Sep 17 00:00:00 2001 From: Eric Snow Date: Thu, 5 Dec 2019 11:32:35 -0700 Subject: [PATCH 3/3] Add a TODO (with issue #) in .gitignore. --- .gitignore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index a4ee92c6f02e..a51acf522c2f 100644 --- a/.gitignore +++ b/.gitignore @@ -40,6 +40,6 @@ test-results.xml uitests/out/** !build/ -# This is temporary. We will remove it when we adjust to not leave -# a file behind in src/test/interpreters/locators/workspaceVirtualEnvService.test.ts. +# TODO (GH-8925) This is temporary. We will remove it when we adjust +# tests to not leave the file behind. src/test/get-pip.py