mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
tests: reduce a test to only one package per conda channel
This commit is contained in:
@@ -29,9 +29,12 @@ def test_tljh_extra_hub_pip_packages():
|
||||
|
||||
def test_conda_packages():
|
||||
"""
|
||||
Test extra user conda packages are installed
|
||||
Test extra user conda packages are installed from multiple channels.
|
||||
|
||||
- tqdm installs from the conda-forge channel (https://conda-forge.org/packages/)
|
||||
- csvtk installs from the bioconda channel (https://bioconda.github.io/conda-package_index.html)
|
||||
"""
|
||||
subprocess.check_call([f"{USER_ENV_PREFIX}/bin/python3", "-c", "import hypothesis"])
|
||||
subprocess.check_call([f"{USER_ENV_PREFIX}/bin/python3", "-c", "import tqdm"])
|
||||
subprocess.check_call([f"{USER_ENV_PREFIX}/bin/csvtk", "cat", "--help"])
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user