mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-11 20:12:58 +00:00
Fix an example
This commit is contained in:
@@ -249,14 +249,14 @@ def test_jupyter_env_vars_to_unset_as_root(container):
|
|||||||
environment=[
|
environment=[
|
||||||
"JUPYTER_ENV_VARS_TO_UNSET=SECRET_ANIMAL,UNUSED_ENV,SECRET_FRUIT",
|
"JUPYTER_ENV_VARS_TO_UNSET=SECRET_ANIMAL,UNUSED_ENV,SECRET_FRUIT",
|
||||||
"FRUIT=bananas",
|
"FRUIT=bananas",
|
||||||
"SECRET_FRUIT=mango",
|
|
||||||
"SECRET_ANIMAL=cats",
|
"SECRET_ANIMAL=cats",
|
||||||
|
"SECRET_FRUIT=mango",
|
||||||
],
|
],
|
||||||
command=[
|
command=[
|
||||||
"start.sh",
|
"start.sh",
|
||||||
"bash",
|
"bash",
|
||||||
"-c",
|
"-c",
|
||||||
"echo I like $FRUIT and ${SECRET_FRUIT:-stuff}, and love ${SECRET_LOVE:-to keep secrets}!",
|
"echo I like $FRUIT and ${SECRET_FRUIT:-stuff}, and love ${SECRET_ANIMAL:-to keep secrets}!",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
rv = c.wait(timeout=10)
|
rv = c.wait(timeout=10)
|
||||||
|
Reference in New Issue
Block a user