aboutsummaryrefslogtreecommitdiff
path: root/test/python/install_jupyterlab_from_python_image.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/python/install_jupyterlab_from_python_image.sh')
-rw-r--r--test/python/install_jupyterlab_from_python_image.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/python/install_jupyterlab_from_python_image.sh b/test/python/install_jupyterlab_from_python_image.sh
new file mode 100644
index 0000000..067046b
--- /dev/null
+++ b/test/python/install_jupyterlab_from_python_image.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+set -e
+
+# Optional: Import test library
+source dev-container-features-test-lib
+
+# Always run these checks as the non-root user
+user="$(whoami)"
+check "user" grep vscode <<< "$user"
+
+# Check for an installation of JupyterLab
+check "version" jupyter lab --version
+
+# Report result
+reportResults