Skip to content

Commit 4032a4c

Browse files
committed
Fix calling OpenShift 4 PyTest suite.
The test suite was renamed from `test_httpd_*.py` to `test_ocp_*.py`. Signed-off-by: Petr "Stone" Hracek <[email protected]>
1 parent 8e2661d commit 4032a4c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/run-openshift-pytest

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,9 @@
77
#
88

99
THISDIR=$(dirname ${BASH_SOURCE[0]})
10+
PYTHON_VERSION="3.12"
11+
if [[ ! -f "/usr/bin/python$PYTHON_VERSION" ]]; then
12+
PYTHON_VERSION="3.13"
13+
fi
1014

11-
cd "${THISDIR}" && python3.12 -m pytest -s -rA --showlocals -vv test_httpd*.py
15+
cd "${THISDIR}" && python3.12 -m pytest -s -rA --showlocals -vv test_ocp_*.py

0 commit comments

Comments
 (0)