@@ -16,13 +16,13 @@ suite('Environment Info cache', () => {
16
16
const allEnvsComplete = ( ) => true ;
17
17
const envInfoArray = [
18
18
{
19
- id : 'someid1' , kind : PythonEnvKind . Conda , name : 'my-conda-env' , defaultDisplayName : 'env-one' ,
19
+ kind : PythonEnvKind . Conda , name : 'my-conda-env' , defaultDisplayName : 'env-one' ,
20
20
} ,
21
21
{
22
- id : 'someid2' , kind : PythonEnvKind . Venv , name : 'my-venv-env' , defaultDisplayName : 'env-two' ,
22
+ kind : PythonEnvKind . Venv , name : 'my-venv-env' , defaultDisplayName : 'env-two' ,
23
23
} ,
24
24
{
25
- id : 'someid3' , kind : PythonEnvKind . Pyenv , name : 'my-pyenv-env' , defaultDisplayName : 'env-three' ,
25
+ kind : PythonEnvKind . Pyenv , name : 'my-pyenv-env' , defaultDisplayName : 'env-three' ,
26
26
} ,
27
27
] as PythonEnvInfo [ ] ;
28
28
@@ -93,7 +93,7 @@ suite('Environment Info cache', () => {
93
93
const result = envsCache . getEnv ( env ) ;
94
94
95
95
assert . deepStrictEqual ( result , {
96
- id : 'someid2' , kind : PythonEnvKind . Venv , name : 'my-venv-env' , defaultDisplayName : 'env-two' ,
96
+ kind : PythonEnvKind . Venv , name : 'my-venv-env' , defaultDisplayName : 'env-two' ,
97
97
} ) ;
98
98
} ) ;
99
99
@@ -110,13 +110,12 @@ suite('Environment Info cache', () => {
110
110
111
111
test ( '`flush` should write complete environment info objects to persistent storage' , async ( ) => {
112
112
const otherEnv = {
113
- id : 'someid5' ,
114
113
kind : PythonEnvKind . OtherGlobal ,
115
114
name : 'my-other-env' ,
116
115
defaultDisplayName : 'env-five' ,
117
116
} ;
118
117
const updatedEnvInfoArray = [
119
- otherEnv , { id : 'someid4' , kind : PythonEnvKind . System , name : 'my-system-env' } ,
118
+ otherEnv , { kind : PythonEnvKind . System , name : 'my-system-env' } ,
120
119
] as PythonEnvInfo [ ] ;
121
120
const expected = [
122
121
otherEnv ,
0 commit comments