aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/azure-cli/install_with_python.sh14
-rw-r--r--test/azure-cli/scenarios.json10
2 files changed, 24 insertions, 0 deletions
diff --git a/test/azure-cli/install_with_python.sh b/test/azure-cli/install_with_python.sh
new file mode 100644
index 0000000..4848ac5
--- /dev/null
+++ b/test/azure-cli/install_with_python.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+set -e
+
+# Import test library for `check` command
+source dev-container-features-test-lib
+
+# Check to make sure the user is vscode
+check "user is vscode" whoami | grep vscode
+check "version" az --version
+
+
+# Report result
+reportResults \ No newline at end of file
diff --git a/test/azure-cli/scenarios.json b/test/azure-cli/scenarios.json
index 2313452..b7a7323 100644
--- a/test/azure-cli/scenarios.json
+++ b/test/azure-cli/scenarios.json
@@ -28,5 +28,15 @@
"installBicep": true
}
}
+ },
+ "install_with_python": {
+ "image": "mcr.microsoft.com/devcontainers/base:jammy",
+ "user": "vscode",
+ "features": {
+ "azure-cli": {
+ "version": "latest",
+ "installUsingPython": true
+ }
+ }
}
} \ No newline at end of file