Sanity/smoke-test: install pytest for ctest as it's in RHEL10 CRB repository

This commit is contained in:
Milan Lysonek 2024-08-19 11:19:08 +02:00
commit fed7239f8f

View file

@ -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*"