@@ -100,6 +100,14 @@ import { MockModuleInstaller } from '../mocks/moduleInstaller';
100
100
import { MockProcessService } from '../mocks/proc' ;
101
101
import { UnitTestIocContainer } from '../testing/serviceRegistry' ;
102
102
import { closeActiveWindows , initializeTest , IS_MULTI_ROOT_TEST , TEST_TIMEOUT } from '../initialize' ;
103
+ import { IActivatedEnvironmentLaunch } from '../../client/interpreter/contracts' ;
104
+ import { ActivatedEnvironmentLaunch } from '../../client/interpreter/virtualEnvs/activatedEnvLaunch' ;
105
+ import {
106
+ IPythonPathUpdaterServiceFactory ,
107
+ IPythonPathUpdaterServiceManager ,
108
+ } from '../../client/interpreter/configuration/types' ;
109
+ import { PythonPathUpdaterService } from '../../client/interpreter/configuration/pythonPathUpdaterService' ;
110
+ import { PythonPathUpdaterServiceFactory } from '../../client/interpreter/configuration/pythonPathUpdaterServiceFactory' ;
103
111
104
112
suite ( 'Installer' , ( ) => {
105
113
let ioc : UnitTestIocContainer ;
@@ -169,6 +177,18 @@ suite('Installer', () => {
169
177
TestFrameworkProductPathService ,
170
178
ProductType . TestFramework ,
171
179
) ;
180
+ ioc . serviceManager . addSingleton < IActivatedEnvironmentLaunch > (
181
+ IActivatedEnvironmentLaunch ,
182
+ ActivatedEnvironmentLaunch ,
183
+ ) ;
184
+ ioc . serviceManager . addSingleton < IPythonPathUpdaterServiceManager > (
185
+ IPythonPathUpdaterServiceManager ,
186
+ PythonPathUpdaterService ,
187
+ ) ;
188
+ ioc . serviceManager . addSingleton < IPythonPathUpdaterServiceFactory > (
189
+ IPythonPathUpdaterServiceFactory ,
190
+ PythonPathUpdaterServiceFactory ,
191
+ ) ;
172
192
ioc . serviceManager . addSingleton < IActiveResourceService > ( IActiveResourceService , ActiveResourceService ) ;
173
193
ioc . serviceManager . addSingleton < IInterpreterPathService > ( IInterpreterPathService , InterpreterPathService ) ;
174
194
ioc . serviceManager . addSingleton < IExtensions > ( IExtensions , Extensions ) ;
0 commit comments