Skip to content

Commit 4fcc3d6

Browse files
committed
Rename OpenShift 4 Python tests from test_* to test_ocp_* name
This is the first step of PyTest container on-boarding Signed-off-by: Petr "Stone" Hracek <[email protected]>
1 parent 49b88e3 commit 4fcc3d6

7 files changed

+5
-2
lines changed

test/run-openshift-pytest

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,8 @@
99
THISDIR=$(dirname ${BASH_SOURCE[0]})
1010

1111
git show -s
12-
13-
cd "${THISDIR}" && python3.12 -m pytest -s -rA --showlocals -vv test_*.py
12+
PYTHON_VERSION="3.12"
13+
if [[ ! -f "/usr/bin/python$PYTHON_VERSION" ]]; then
14+
PYTHON_VERSION="3.13"
15+
fi
16+
cd "${THISDIR}" && "python$PYTHON_VERSION" -m pytest -s -rA --showlocals -vv test_ocp_*.py
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)