@@ -6,7 +6,7 @@ import * as pathUtils from '../../../common/utils/pathUtils';
66import * as workspaceApis from '../../../common/workspace.apis' ;
77
88// Import the function under test
9- import { getAllExtraSearchPaths , resetWorkspaceSearchPathsErrorFlag } from '../../../managers/common/nativePythonFinder' ;
9+ import { getAllExtraSearchPaths , resetWorkspaceSearchPathsGlobalWarningFlag } from '../../../managers/common/nativePythonFinder' ;
1010
1111interface MockWorkspaceConfig {
1212 get : sinon . SinonStub ;
@@ -26,7 +26,7 @@ suite('getAllExtraSearchPaths Integration Tests', () => {
2626 let envConfig : MockWorkspaceConfig ;
2727
2828 setup ( ( ) => {
29- resetWorkspaceSearchPathsErrorFlag ( ) ;
29+ resetWorkspaceSearchPathsGlobalWarningFlag ( ) ;
3030
3131 // Mock VS Code workspace APIs
3232 mockGetConfiguration = sinon . stub ( workspaceApis , 'getConfiguration' ) ;
@@ -89,7 +89,7 @@ suite('getAllExtraSearchPaths Integration Tests', () => {
8989
9090 teardown ( ( ) => {
9191 sinon . restore ( ) ;
92- resetWorkspaceSearchPathsErrorFlag ( ) ;
92+ resetWorkspaceSearchPathsGlobalWarningFlag ( ) ;
9393 } ) ;
9494
9595 suite ( 'Legacy Path Consolidation Tests' , ( ) => {
@@ -358,7 +358,7 @@ suite('getAllExtraSearchPaths Integration Tests', () => {
358358 assert . strictEqual (
359359 matchingCalls . length ,
360360 1 ,
361- `Expected exactly 1 warning about workspaceSearchPaths global level, got ${ matchingCalls . length } ` ,
361+ `Expected exactly 1 error about workspaceSearchPaths global level, got ${ matchingCalls . length } ` ,
362362 ) ;
363363 } ) ;
364364
0 commit comments