Commit a3cfda28 authored by Peter Parente's avatar Peter Parente

Verify path prefix in test

parent 6fa67cc5
...@@ -78,10 +78,11 @@ def test_sudo_path(container): ...@@ -78,10 +78,11 @@ def test_sudo_path(container):
tty=True, tty=True,
user='root', user='root',
environment=['GRANT_SUDO=yes'], environment=['GRANT_SUDO=yes'],
command=['start.sh', 'sudo', 'jupyter', '--version'] command=['start.sh', 'sudo', 'which', 'jupyter']
) )
rv = c.wait(timeout=10) rv = c.wait(timeout=10)
assert rv == 0 assert rv == 0
assert c.logs(stdout=True).decode('utf-8').rstrip().endswith('/opt/conda/bin/jupyter')
def test_group_add(container, tmpdir): def test_group_add(container, tmpdir):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment