aboutsummaryrefslogtreecommitdiff
path: root/test-scenarios
diff options
context:
space:
mode:
Diffstat (limited to 'test-scenarios')
-rw-r--r--test-scenarios/install_python_twice.sh7
-rw-r--r--test-scenarios/scenarios.json9
2 files changed, 10 insertions, 6 deletions
diff --git a/test-scenarios/install_python_twice.sh b/test-scenarios/install_python_twice.sh
index 9750ddd..911ee54 100644
--- a/test-scenarios/install_python_twice.sh
+++ b/test-scenarios/install_python_twice.sh
@@ -5,11 +5,10 @@ set -e
# Optional: Import test library
source dev-container-features-test-lib
-# Definition specific tests
-check "version" python --version
+check "version 3.9 installed" ls -1 /usr/local/python/ | grep 3.9
+check "version 3.8 installed" ls -1 /usr/local/python/ | grep 3.8
-# ...
-# ...
+check "3.9 alias to python on path" python --version | grep 3.9
# Report result
reportResults
diff --git a/test-scenarios/scenarios.json b/test-scenarios/scenarios.json
index a4d3fa2..e97b853 100644
--- a/test-scenarios/scenarios.json
+++ b/test-scenarios/scenarios.json
@@ -4,11 +4,16 @@
"features": [
{
"id": "python",
- "version": "3.8"
+ "options": {
+ "version": "3.8"
+ }
},
{
"id": "python",
- "version": "3.9"
+ "options": {
+ "version": "3.9",
+ "overrideDefaultVersion": true
+ }
}
]
}