diff --git a/Sanity/smoke-test/runtest.sh b/Sanity/smoke-test/runtest.sh index 8c50663..b8eb3c1 100755 --- a/Sanity/smoke-test/runtest.sh +++ b/Sanity/smoke-test/runtest.sh @@ -63,6 +63,11 @@ rlJournalStart rlRun "dnf config-manager --set-enabled beaker-AppStream-source" 0-255 fi + # in RHEL10, pytest is in CRB which is not enabled during tmt preparation phase + if rlIsRHEL ">=10"; then + rlRun "dnf install -y python3-pytest" + fi + rlFetchSrcForInstalled $PACKAGE if rlIsRHEL "<=7"; then rlRun "yum-builddep -y $PACKAGE*"