mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-12 04:22:58 +00:00
Update base-notebook/test/test_container_options.py
This commit is contained in:
@@ -315,7 +315,7 @@ def test_secure_path(container: TrackedContainer, tmp_path: pathlib.Path) -> Non
|
|||||||
d = tmp_path / "data"
|
d = tmp_path / "data"
|
||||||
d.mkdir()
|
d.mkdir()
|
||||||
p = d / "wrong_python.sh"
|
p = d / "wrong_python.sh"
|
||||||
p.write_text("""#!/bin/bash\necho "Wrong python executable invoked!" """)
|
p.write_text('#!/bin/bash\necho "Wrong python executable invoked!"')
|
||||||
p.chmod(0o755)
|
p.chmod(0o755)
|
||||||
|
|
||||||
logs = container.run_and_wait(
|
logs = container.run_and_wait(
|
||||||
|
Reference in New Issue
Block a user