Closed
Description
1) Environment Identifier
Virtualenvwrapper
WORKON_HOME is set to its default value %USERPROFILE%\Envs on Windows:
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
+ 'Unknown'
- 'VirtualEnvWrapper'
+ expected - actual
-Unknown
+VirtualEnvWrapper
at Context.<anonymous> (src\test\pythonEnvironments\common\environmentIdentifier.unit.test.ts:153:20)
2) Environment Identifier
Virtualenvwrapper
WORKON_HOME is set to a custom value:
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
+ 'Unknown'
- 'VirtualEnvWrapper'
+ expected - actual
-Unknown
+VirtualEnvWrapper
at Context.<anonymous> (src\test\pythonEnvironments\common\environmentIdentifier.unit.test.ts:161:20)
3) Virtualenvwrapper Locator Tests
WORKON_HOME is not set, and the interpreter is is in a subfolder:
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
getDefaultDirStub.restore()
+ expected - actual
-false
+true
at Context.<anonymous> (src\test\pythonEnvironments\discovery\locators\virtualenvwrapperLocator.unit.test.ts:32:16)
4) Virtualenvwrapper Locator Tests
WORKON_HOME is set to a custom value, and the interpreter is is in a subfolder:
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
getDefaultDirStub.returns(homeDir)
+ expected - actual
-false
+true
at Context.<anonymous> (src\test\pythonEnvironments\discovery\locators\virtualenvwrapperLocator.unit.test.ts:39:16)