Skip to content

Commit 9111b73

Browse files
committedSep 4, 2024·
tests: reduce a test to only one package per conda channel
1 parent 7a491e4 commit 9111b73

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed
 

‎integration-tests/plugins/simplest/tljh_simplest.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77

88
@hookimpl
99
def tljh_extra_user_conda_packages():
10-
return ["hypothesis", "csvtk", "tqdm"]
10+
# tqdm installs from the conda-forge channel (https://conda-forge.org/packages/)
11+
# csvtk installs from the bioconda channel (https://bioconda.github.io/conda-package_index.html)
12+
return ["tqdm", "csvtk"]
1113

1214

1315
@hookimpl

‎integration-tests/test_simplest_plugin.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,12 @@ def test_tljh_extra_hub_pip_packages():
2929

3030
def test_conda_packages():
3131
"""
32-
Test extra user conda packages are installed
32+
Test extra user conda packages are installed from multiple channels.
33+
34+
- tqdm installs from the conda-forge channel (https://conda-forge.org/packages/)
35+
- csvtk installs from the bioconda channel (https://bioconda.github.io/conda-package_index.html)
3336
"""
34-
subprocess.check_call([f"{USER_ENV_PREFIX}/bin/python3", "-c", "import hypothesis"])
37+
subprocess.check_call([f"{USER_ENV_PREFIX}/bin/python3", "-c", "import tqdm"])
3538
subprocess.check_call([f"{USER_ENV_PREFIX}/bin/csvtk", "cat", "--help"])
3639

3740

0 commit comments

Comments
 (0)
Please sign in to comment.