mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
adjusted integration test to call new hook
This commit is contained in:
@@ -8,6 +8,14 @@ from tljh.hooks import hookimpl
|
||||
def tljh_extra_user_conda_packages():
|
||||
return [
|
||||
"hypothesis",
|
||||
"csvtk"
|
||||
]
|
||||
|
||||
@hookimpl
|
||||
def tljh_extra_user_conda_channels():
|
||||
return [
|
||||
"conda-forge",
|
||||
"bioconda"
|
||||
]
|
||||
|
||||
|
||||
|
||||
@@ -33,6 +33,7 @@ def test_conda_packages():
|
||||
Test extra user conda packages are installed
|
||||
"""
|
||||
subprocess.check_call([f"{USER_ENV_PREFIX}/bin/python3", "-c", "import hypothesis"])
|
||||
subprocess.check_call([f"{USER_ENV_PREFIX}/bin/csvtk", "cat", "--help"])
|
||||
|
||||
|
||||
def test_config_hook():
|
||||
|
||||
Reference in New Issue
Block a user