kopia lustrzana https://github.com/jupyterhub/repo2docker
Add root conda environment to expected output
rodzic
ba6aa63085
commit
157ce1e1e7
|
@ -13,7 +13,7 @@ assert sorted(specs) == ['python2', 'python3'], specs.keys()
|
|||
import json
|
||||
from subprocess import check_output
|
||||
envs = json.loads(check_output(['conda', 'env', 'list', '--json']).decode('utf8'))
|
||||
assert envs == {'envs': ['/srv/conda/envs/kernel']}, envs
|
||||
assert envs == {'envs': ['/srv/conda', '/srv/conda/envs/kernel']}, envs
|
||||
|
||||
pkgs = json.loads(check_output(['conda', 'list', '-n', 'kernel', '--json']).decode('utf8'))
|
||||
pkg_names = [pkg['name'] for pkg in pkgs]
|
||||
|
|
Ładowanie…
Reference in New Issue