11import * as sinon from 'sinon' ;
2+ import { Uri } from 'vscode' ;
3+ import { PythonEnvironment } from '../../../api' ;
24import * as envApis from '../../../common/env.apis' ;
35import { copyPathToClipboard } from '../../../features/envCommands' ;
46import {
5- ProjectItem ,
7+ EnvManagerTreeItem ,
68 ProjectEnvironment ,
9+ ProjectItem ,
710 PythonEnvTreeItem ,
8- EnvManagerTreeItem ,
911} from '../../../features/views/treeViewItems' ;
10- import { Uri } from 'vscode' ;
11- import { PythonEnvironment } from '../../../api' ;
1212import { InternalEnvironmentManager } from '../../../internal.api' ;
1313
1414suite ( 'Copy Path To Clipboard' , ( ) => {
@@ -73,12 +73,12 @@ suite('Copy Path To Clipboard', () => {
7373 name : 'base' ,
7474 displayName : 'base (3.12.2)' ,
7575 displayPath : '/opt/conda/envs/base' ,
76- execInfo : {
76+ execInfo : {
7777 run : { executable : '/opt/conda/envs/base/bin/python' } ,
7878 activatedRun : {
7979 executable : 'conda' ,
8080 args : [ 'run' , '--name' , 'base' , 'python' ] ,
81- }
81+ } ,
8282 } ,
8383 } as PythonEnvironment ,
8484 new EnvManagerTreeItem ( { name : 'conda' , id : 'conda' } as InternalEnvironmentManager ) ,
@@ -98,12 +98,12 @@ suite('Copy Path To Clipboard', () => {
9898 name : 'myenv' ,
9999 displayName : 'myenv (3.11.5)' ,
100100 displayPath : '/opt/conda/envs/myenv' ,
101- execInfo : {
101+ execInfo : {
102102 run : { executable : '/opt/conda/envs/myenv/bin/python' } ,
103103 activatedRun : {
104104 executable : 'conda' ,
105105 args : [ 'run' , '--prefix' , '/opt/conda/envs/myenv' , 'python' ] ,
106- }
106+ } ,
107107 } ,
108108 } as PythonEnvironment ,
109109 new EnvManagerTreeItem ( { name : 'conda' , id : 'conda' } as InternalEnvironmentManager ) ,
0 commit comments