aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDaniel Ciborowski <dciborow@microsoft.com>2023-03-14 18:23:28 +0300
committerGitHub <noreply@github.com>2023-03-14 18:23:28 +0300
commitd4c3fefc4a792193428d9ae91125696c5ac2fa2f (patch)
tree0c657119165b71b44f136f2c4c6b2847c9b8dbe6 /test
parent1449f416a0d5c65fbd7e7bfac041eb43f1ecd98d (diff)
Add pytest to Python Feature (#487)feature_python_1.0.22
* Update install.sh * Update install_additional_python.sh * Update install_os_provided_python.sh * Update install_via_oryx.sh * Update test.sh * Update devcontainer-feature.json
Diffstat (limited to 'test')
-rwxr-xr-xtest/python/install_additional_python.sh2
-rwxr-xr-xtest/python/install_os_provided_python.sh4
-rwxr-xr-xtest/python/install_via_oryx.sh4
-rwxr-xr-xtest/python/test.sh2
4 files changed, 10 insertions, 2 deletions
diff --git a/test/python/install_additional_python.sh b/test/python/install_additional_python.sh
index caf2a19..d584f4b 100755
--- a/test/python/install_additional_python.sh
+++ b/test/python/install_additional_python.sh
@@ -21,6 +21,7 @@ check "mypy" mypy --version
check "pycodestyle" pycodestyle --version
check "pydocstyle" pydocstyle --version
check "pylint" pylint --version
+check "pytest" pytest --version
# Check paths in settings
check "current symlink is correct" bash -c "which python | grep /usr/local/python/current/bin/python"
@@ -34,6 +35,7 @@ check "which mypy" bash -c "which mypy | grep /usr/local/py-utils/bin/mypy"
check "which pycodestyle" bash -c "which pycodestyle | grep /usr/local/py-utils/bin/pycodestyle"
check "which pydocstyle" bash -c "which pydocstyle | grep /usr/local/py-utils/bin/pydocstyle"
check "which pylint" bash -c "which pylint | grep /usr/local/py-utils/bin/pylint"
+check "which pytest" bash -c "which pytest | grep /usr/local/py-utils/bin/pytest"
# Report result
reportResults
diff --git a/test/python/install_os_provided_python.sh b/test/python/install_os_provided_python.sh
index 3eb014c..e39b514 100755
--- a/test/python/install_os_provided_python.sh
+++ b/test/python/install_os_provided_python.sh
@@ -20,6 +20,7 @@ check "mypy" mypy --version
check "pycodestyle" pycodestyle --version
check "pydocstyle" pydocstyle --version
check "pylint" pylint --version
+check "pytest" pytest --version
# Check paths in settings
check "current symlink is correct" bash -c "which python | grep /usr/local/python/current/bin/python"
@@ -33,6 +34,7 @@ check "which mypy" bash -c "which mypy | grep /usr/local/py-utils/bin/mypy"
check "which pycodestyle" bash -c "which pycodestyle | grep /usr/local/py-utils/bin/pycodestyle"
check "which pydocstyle" bash -c "which pydocstyle | grep /usr/local/py-utils/bin/pydocstyle"
check "which pylint" bash -c "which pylint | grep /usr/local/py-utils/bin/pylint"
+check "which pytest" bash -c "which pytest | grep /usr/local/py-utils/bin/pytest"
# Report result
-reportResults \ No newline at end of file
+reportResults
diff --git a/test/python/install_via_oryx.sh b/test/python/install_via_oryx.sh
index 3eb014c..e39b514 100755
--- a/test/python/install_via_oryx.sh
+++ b/test/python/install_via_oryx.sh
@@ -20,6 +20,7 @@ check "mypy" mypy --version
check "pycodestyle" pycodestyle --version
check "pydocstyle" pydocstyle --version
check "pylint" pylint --version
+check "pytest" pytest --version
# Check paths in settings
check "current symlink is correct" bash -c "which python | grep /usr/local/python/current/bin/python"
@@ -33,6 +34,7 @@ check "which mypy" bash -c "which mypy | grep /usr/local/py-utils/bin/mypy"
check "which pycodestyle" bash -c "which pycodestyle | grep /usr/local/py-utils/bin/pycodestyle"
check "which pydocstyle" bash -c "which pydocstyle | grep /usr/local/py-utils/bin/pydocstyle"
check "which pylint" bash -c "which pylint | grep /usr/local/py-utils/bin/pylint"
+check "which pytest" bash -c "which pytest | grep /usr/local/py-utils/bin/pytest"
# Report result
-reportResults \ No newline at end of file
+reportResults
diff --git a/test/python/test.sh b/test/python/test.sh
index 832763d..038826d 100755
--- a/test/python/test.sh
+++ b/test/python/test.sh
@@ -20,6 +20,7 @@ check "mypy" mypy --version
check "pycodestyle" pycodestyle --version
check "pydocstyle" pydocstyle --version
check "pylint" pylint --version
+check "pytest" pytest --version
# Check paths in settings
check "current symlink is correct" bash -c "which python | grep /usr/local/python/current/bin/python"
@@ -33,6 +34,7 @@ check "which mypy" bash -c "which mypy | grep /usr/local/py-utils/bin/mypy"
check "which pycodestyle" bash -c "which pycodestyle | grep /usr/local/py-utils/bin/pycodestyle"
check "which pydocstyle" bash -c "which pydocstyle | grep /usr/local/py-utils/bin/pydocstyle"
check "which pylint" bash -c "which pylint | grep /usr/local/py-utils/bin/pylint"
+check "which pytest" bash -c "which pytest | grep /usr/local/py-utils/bin/pytest"
# Report result
reportResults