Skip to content

Commit 72f8aac

Browse files
add new WindowsStoreInterpreter to data science IOC container (microsoft#7117)
1 parent 557f25f commit 72f8aac

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

news/3 Code Health/7081.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix functional test failures due to new WindowsStoreInterpreter addition

src/test/datascience/dataScienceIocContainer.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ import {
221221
import { PipEnvService } from '../../client/interpreter/locators/services/pipEnvService';
222222
import { PipEnvServiceHelper } from '../../client/interpreter/locators/services/pipEnvServiceHelper';
223223
import { WindowsRegistryService } from '../../client/interpreter/locators/services/windowsRegistryService';
224+
import { WindowsStoreInterpreter } from '../../client/interpreter/locators/services/windowsStoreInterpreter';
224225
import {
225226
WorkspaceVirtualEnvironmentsSearchPathProvider,
226227
WorkspaceVirtualEnvService
@@ -348,6 +349,7 @@ export class DataScienceIocContainer extends UnitTestIocContainer {
348349
this.serviceManager.addSingletonInstance<IAsyncDisposableRegistry>(IAsyncDisposableRegistry, this.asyncRegistry);
349350
this.serviceManager.addSingleton<IPythonInPathCommandProvider>(IPythonInPathCommandProvider, PythonInPathCommandProvider);
350351
this.serviceManager.addSingleton<IEnvironmentActivationService>(IEnvironmentActivationService, EnvironmentActivationService);
352+
this.serviceManager.addSingleton<WindowsStoreInterpreter>(WindowsStoreInterpreter, WindowsStoreInterpreter);
351353
this.serviceManager.add<ICodeWatcher>(ICodeWatcher, CodeWatcher);
352354
this.serviceManager.add<IDataScienceCodeLensProvider>(IDataScienceCodeLensProvider, DataScienceCodeLensProvider);
353355
this.serviceManager.add<ICodeExecutionHelper>(ICodeExecutionHelper, CodeExecutionHelper);

0 commit comments

Comments
 (0)