Fix conda hook to work in both terminal and Jupyter Notebook (#2047)

* Fix conda hook to work in both terminal and Jupyter Notebook

* Fix hook for Jupyter Terminals

* Rename startup hook to have order of precedence

* Try to increase sleep

* Comment making env_name default in custom_environment
This commit is contained in:
Ayaz Salikhov
2023-12-04 21:09:23 +01:00
committed by GitHub
parent 2927745fb2
commit 3253fc39b5
4 changed files with 25 additions and 15 deletions

View File

@@ -48,7 +48,7 @@ def test_start_notebook(
ports={"8888/tcp": host_port},
)
# sleeping some time to let the server start
time.sleep(1)
time.sleep(2)
logs = running_container.logs().decode("utf-8")
LOGGER.debug(logs)
# checking that the expected command is launched