@@ -263,37 +263,6 @@ suite('Activated Env Launch', async () => {
263263 expect ( _promptIfApplicable . notCalled ) . to . equal ( true , 'Prompt should not be displayed' ) ;
264264 } ) ;
265265
266- test ( 'Does not update interpreter path if a multiroot workspace is opened' , async ( ) => {
267- process . env . VIRTUAL_ENV = virtualEnvPrefix ;
268- interpreterService
269- . setup ( ( i ) => i . getInterpreterDetails ( TypeMoq . It . isAny ( ) ) )
270- . returns ( ( ) => Promise . resolve ( ( { envName : 'base' } as unknown ) as PythonEnvironment ) ) ;
271- workspaceService . setup ( ( w ) => w . workspaceFile ) . returns ( ( ) => uri ) ;
272- const workspaceFolder : WorkspaceFolder = { name : 'one' , uri, index : 0 } ;
273- workspaceService . setup ( ( w ) => w . workspaceFolders ) . returns ( ( ) => [ workspaceFolder ] ) ;
274- pythonPathUpdaterService
275- . setup ( ( p ) =>
276- p . updatePythonPath (
277- TypeMoq . It . isValue ( virtualEnvPrefix ) ,
278- TypeMoq . It . isValue ( ConfigurationTarget . WorkspaceFolder ) ,
279- TypeMoq . It . isValue ( 'load' ) ,
280- TypeMoq . It . isValue ( uri ) ,
281- ) ,
282- )
283- . returns ( ( ) => Promise . resolve ( ) )
284- . verifiable ( TypeMoq . Times . never ( ) ) ;
285- activatedEnvLaunch = new ActivatedEnvironmentLaunch (
286- workspaceService . object ,
287- appShell . object ,
288- pythonPathUpdaterService . object ,
289- interpreterService . object ,
290- processServiceFactory . object ,
291- ) ;
292- const result = await activatedEnvLaunch . selectIfLaunchedViaActivatedEnv ( ) ;
293- expect ( result ) . to . be . equal ( undefined , 'Incorrect value' ) ;
294- pythonPathUpdaterService . verifyAll ( ) ;
295- } ) ;
296-
297266 test ( 'Returns `undefined` if env was already selected' , async ( ) => {
298267 activatedEnvLaunch = new ActivatedEnvironmentLaunch (
299268 workspaceService . object ,
0 commit comments